connect to oracle db

Discussion in 'Python' started by mystic-d, Sep 5, 2007.

  1. mystic-d

    mystic-d

    Joined:
    Sep 5, 2007
    Messages:
    1
    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 !
     
    mystic-d, Sep 5, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Otis Mukinfus
    Replies:
    3
    Views:
    949
    Juan T. Llibre
    Jul 8, 2005
  2. kishore@novelteam.com
    Replies:
    3
    Views:
    40,585
    Roedy Green
    Nov 16, 2005
  3. Benson, John
    Replies:
    1
    Views:
    2,255
    Aurelio Martin
    Jan 28, 2004
  4. Pieter Claerhout
    Replies:
    0
    Views:
    630
    Pieter Claerhout
    Jan 28, 2004
  5. Feyruz
    Replies:
    4
    Views:
    2,298
    Sherm Pendley
    Oct 14, 2005
Loading...

Share This Page