I have a connection string that looks like this
con_str = \"myuser/mypass@oracle.sub.example.com:1521/ora1\"
Where ora1 is the
ora1
I also met this issue. The solution is:
1: get the service name at tnsnames.ora 2: put the service name in con_str = "myuser/mypass@oracle.sub.example.com:1521/ora1"