I was trying to connect oracle database using python like below.
import cx_Oracle
conn = cx_Oracle.connect('user/password@host:port/database')
I've faced an error when connecting oracle. DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded: "libclntsh.so: cannot open shared object file: No such file or directory". See https://oracle.github.io/odpi/doc/installation.html#linux for help.
I've been struggling to figure it out. I used my user name, password, host, port and database('orcl') for example,
'admin/[email protected]:1010/orcl'.
Why coudn't it connect?
Ahh, btw I'm running all the code in azure notebooks.