I am using a standard cx_Oracle.connect() statement in python like this
cnxn = cx_Oracle.connect(user/pwd@connection:port/service)
And I am getting this error
DatabaseError: ORA-12170: TNS:Connect timeout occurred
I think it is because we just switch to a amazon/aws/rds database, which is very slow, and the connection is timing out too soon. Is there a simple way to increase the wait until the timeout occurs?
I tried these solutions with no success so far.