Oracle with Wallet
Last updated
Last updated
Pre-requisites for enabling Oracle Wallet
TNS_ADMIN windows environmental variable needs to be set. This will be the location of “tnsnames.ora” file. Store tnsnames.ora inside the oracle wallet. Set TNS_ADMIN to oracle wallet.
tnsnames.ora contains the alias for wallet entry. See image below:
Wallet can be created using the below commands:
mkstore -wrl /path/to/wallet -create
mkstore -wrl /path/to/wallet -createCredential mydb myuser mypassword
mkstore -wrl /path/to/wallet -enableAutoLogin
If you are running the program as a service (service install dbsync), you need to start the program as a system account from services.msc. See image below.
For enabling Oracle Wallet on the Oracle database connector tab, there will be a check box.
On selecting the check box, the user will enable the Oracle wallet
Once Oracle Wallet is enabled user will have to put in the following information
Schema - Schema of database
TNS Name - The TNS Name (a user-friendly alias for a database connection)
Wallet Location- Location of Oracle wallet
URL- It will be automatically updated according to the connection parameters passed by the user
You need to install Oracle Client 19c to use mkstore. ()