Skip to Main Content

Oracle Developer Tools for VS Code

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

VS Code ODT "Oracle Communication: Failed to connect to server or failed to parse connect string"

smain-ora-teaFeb 20 2024

Using Kerberos and TNSNAMES.ora.

This works in cli:

sqlplus /@{TNSNAME}

However, in vs code. Attempting authentication using TNSNAMES.ora, username: “/” and having the TNS Admin location pointed to the correct folder with all ora & conf files results in error:

"Oracle Communication: Failed to connect to server or failed to parse connect string"

Also attempted running command:

connect /@{TNSNAME};

with the same result.

Connections do work in VS Code if I put an oracle database username and password. But, this does not really meet needs as usable client.

Comments
Post Details
Added on Feb 20 2024
2 comments
405 views