Open orencio opened 12 years ago
Any suggestions?
about "WARNING: ev_ref is deprecated, use uv_ref" --this is Node's warning when you use Node.js verson above 0.8.X
You do not need config the tnsnames.ora,you can do it directory like this:
var or = require('db-oracle'); var connection_datas = { hostname: 'example-serv.org',//host name or ip address port: '1521',//oracle listener port user: 'us', password: 'pw', database: 'des' }; var o = new or.Database(connection_datas);
Were you ever able to resolve this using TNS names? I'm having a similar issue.
Hello. I'm trying to connect to my database, but I always get same response:
The code is based on the example:
I don't know if des is database service name or is listener database name, so I've tried with service name too (databse: 'des.example-serv.org') but I've had same result.
I can't specify port because I get this error (uncommenting port line):
Here is my env. vars.:
My tnsnames.ora:
And, ping to database:
What is the problem? Thanks.