hey
im trying to connect Oracle DB using this code :
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 !
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 !