Here is the code in the file con = cx_Oracle.connect('/@database_name')
.
This is setup to use my oracle wallet but its not working for some reason (giving me login denied). How do I enter my user name and password in this line of code? con = cx_Oracle.connect('/@database_name')
You should take a look on
https://cx-oracle.readthedocs.io/en/latest/user_guide/connection_handling.html#establishing-database-connections
To use a wallet with cx_Oracle, you need first to configure the wallet, create the sqlnet.ora and tnsnames.ora files, and you need to use the dsn property
Where mynetalias is the TNS entry in your tnsnames.ora
Be sure to have the sqlnet.ora configured for using the wallet