我可以帮您进行翻译。以下是您需要翻译的内容,涉及到IT技术方面:
执行后,我收到了错误信息:
我想使用Python连接远程Oracle数据库。
已经尝试使用cx_Oracle。
以下是我的代码:
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
如何连接到我的远程oracle数据库?或者我应该使用与cx_Oracle不同的东西?