connect to oracle db

Joined
Sep 5, 2007
Messages
1
Reaction score
0
hey
im trying to connect Oracle DB using this code :
Code:
connection=cx_Oracle.connect('username','pass','xxx.xxx.xxx.xxx:1521/db10104')

this Db is installed on Solaris , when im trying to connect im getting this error:
"ORA-12514: TNS:listener does not currently know of service requested in connect descriptor",
im sure that the username,pass is ok and that the instance of the DB is running coz from the same computer that im trying to connect i can connect to that Db with the program "sqldeveloper".
(i can connect with this code to another db on another machine that run on redhat)
does someone know what is the problem ?
thanks !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top