Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## copy wallet to local directory
- ubuntu@FAKELES-7310:~$ podman cp adb_container:/u01/app/oracle/wallets/tls_wallet adb_wallets/tls_wallet
- ## Set TNS_ADMIN
- ubuntu@FAKELES-7310:~$ export TNS_ADMIN=/home/ubuntu/adb_wallets/tls_wallet
- ## connect to database
- ubuntu@FAKELES-7310:~$ sqlplus admin@my_atp_low
- SQL*Plus: Release 19.0.0.0.0 - Production on Fri Sep 22 19:44:08 2023
- Version 19.16.0.0.0
- Copyright (c) 1982, 2022, Oracle. All rights reserved.
- Enter password:
- Last Successful login time: Fri Sep 22 2023 19:33:42 +02:00
- Connected to:
- Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
- Version 19.20.0.1.0
- SQL> select name from v$database;
- NAME
- ---------
- POD1
- SQL>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement