a guest May 16th, 2018 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- import cx_Oracle
- adr = 'server_addres'
- uid = 'user_id'
- pwd = 'pwd'
- port = 'port'
- cx_Oracle.connect(uid + "/" + pwd + "@" + adr)
- cx_Oracle.DatabaseError: ORA-12154: TNS: could not resolve the connect identifier specified
RAW Paste Data