pyodbc.Error: ORA-12560: TNS:protocol adapter error (12560) (SQLDriverConnect) in python. But i am able to connect using sqlplus
问题 I am able to connect to oracle DB using following commands in sqlplus sqlplus user/pass@pdw1s_default Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production and tnsping works properly tnsping pdw1s_default I tried to connect to oracle using python and i tried below connection strings. But I am getting same error. Both Oracleclient and python is 32bit version. Driver={Oracle in OraClient12Home1};dbq = pdw1s_default;Uid=user;Pwd=pass; Driver={Oracle in