mariano / node-db-oracle

Oracle database bindings for Node.js
http://nodejsdb.org
141 stars 34 forks source link

TNS Could not resolve the connect identifier specified #20

Closed digioi closed 12 years ago

digioi commented 12 years ago

I keep getting a ORA-12154 when trying to connect. I am trying to understand the params that are passed to the database connection. I have a local oracle10g running on port 1522 so I supply { hostname:'localhost', port:'1522', user:'***_', password:'_**' }

In the example Database is specified, I am unsure what that would do in ORACLE since Oracle Schema's are per user.

digioi commented 12 years ago

It looks like I have miss understood database. It follows the //HOSTNAME:PORT/DATABASE pattern of OCI So Database should be equivelant to SID