You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running Oracle XE 21c in a Docker container and I can connect to it with a JDBC thin connection using the JDBC url jdbc:oracle:thin:@localhost:1521:XE using the SYSTEM account. I can also connect with sqlplus either by logging into the terminal Docker instance or by using sqlplus on the host OSX machine.
When I try to connect to it using NodeJS OracleDB example code described here:
I am running Oracle XE 21c in a Docker container and I can connect to it with a JDBC thin connection using the JDBC url jdbc:oracle:thin:@localhost:1521:XE using the SYSTEM account. I can also connect with sqlplus either by logging into the terminal Docker instance or by using sqlplus on the host OSX machine.
When I try to connect to it using NodeJS OracleDB example code described here:
https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html, I cannot get the client to connect using either:
or
I get an error ORA-01017: invalid username/password; logon denied.
sqlplus works fine if I use this connection string sqlplus SYSTEM/Password@localhost:1521/XE
if I change the code to:
I get the error ORA-12154: TNS:could not resolve the connect identifier specified
It seems odd that I can connect with sqlplus but not with node-oracledb. Any ideas?
The text was updated successfully, but these errors were encountered: