LSNRCTL for Linux: Version 21.0.0.0.0 - Production on 08-MAY-2024 14:58:20
Copyright (c) 1991, 2021, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=openEuler23)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 21.0.0.0.0 - Production Start Date 08-MAY-2024 14:53:09 Uptime 0 days 0 hr. 5 min. 10 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/21.3.0/db/network/admin/listener.ora Listener Log File /u01/app/oracle/diag/tnslsnr/openEuler23/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=openEuler23)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) Services Summary... Service "17ec75022d066375e063c506a8c005b5" has 1 instance(s). Instance "lucifer", status READY, has 1 handler(s) for this service... Service "c8209f27c6b16005e053362ee80ae60e" has 1 instance(s). Instance "lucifer", status READY, has 1 handler(s) for this service... Service "lucifer" has 1 instance(s). Instance "lucifer", status READY, has 1 handler(s) for this service... Service "luciferXDB" has 1 instance(s). Instance "lucifer", status READY, has 1 handler(s) for this service... Service "pdb01" has 1 instance(s). Instance "lucifer", status READY, has 1 handler(s) for this service... The command completed successfully
连接数据库:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
[oracle@openEuler23:/home/oracle]$ sas
SQL*Plus: Release 21.0.0.0.0 - Production on Wed May 8 14:58:30 2024 Version 21.3.0.0.0
Copyright (c) 1982, 2021, Oracle. All rights reserved.
Connected to: Oracle Database 21c Enterprise Edition Release 21.0.0.0.0 - Production Version 21.3.0.0.0
sys@LUCIFER 2024-05-08 14:58:31> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 PDB01 READ WRITE NO