Reputation: 145
I am trying to connect to Autonomous database from kubernetes cluster.
In my shell script I am giving the syntax as sqlplus admin/pwd@adb_low
.
Before this, I also download the wallet. Can anyone tell me whether or not there is anything wrong here, as it produces the error
ORA-12154:TNS:could not resolve the connect identifier specified.
Enter user-name, invalid option.
Upvotes: 0
Views: 833
Reputation: 261
We will use the mTLS wallet.
Edit: to use step 6, open the terminal in the instant client basic folder where you pasted the sqlplus extracted contents. Alternatively, you can do path/sqlplus admin...
Upvotes: 0
Reputation: 1
Edit the sqlnet.ora
file, by replacing ?/network/admin
with the name of the folder containing the Autonomous database wallet credentials.
Set the TNS_ADMIN
environment variable to the directory where the Autonomous database wallet is unzipped, for example:
export TNS_ADMIN=/home/myDBwallet
Upvotes: 0