I think the problem is not the way you are connected from NodeJS to Oracle, but rather the problem is your Oracle host (in this case your macbook or similar). It is not so easy to have an Oracle environment in macOS.
I would try doing the following:
Use Docker to build an Oracle DB locally, so you keep the DB isolated regardless of the base operating system.
Use some instance in the cloud like AWS RDS.
With this we eliminate the possibility that the problem comes from "NodeJS".
Jaime, THANK YOU!!! Your connection string was a huge help, I finally connected successfully! I ended up having to modify it a bit to match with a value I got from a coworkers tnsnames.ora entry file for the same database, so it ended up looking like this:
Hi Brian,
I think the problem is not the way you are connected from NodeJS to Oracle, but rather the problem is your Oracle host (in this case your macbook or similar). It is not so easy to have an Oracle environment in macOS.
I would try doing the following:
Use Docker to build an Oracle DB locally, so you keep the DB isolated regardless of the base operating system.
Use some instance in the cloud like AWS RDS.
With this we eliminate the possibility that the problem comes from "NodeJS".
I have absolutely no control over the DB environment, unfortunately. It's an existing legacy DB that resides in an on-prem data center.
good...try with the embedded connection strings
I will definitely give this a try in the morning! Thanks!
Jaime, THANK YOU!!! Your connection string was a huge help, I finally connected successfully! I ended up having to modify it a bit to match with a value I got from a coworkers
tnsnames.ora
entry file for the same database, so it ended up looking like this:this worked for me, thank you so much.