錯誤描述,建庫成功後,在catalog連接Oracle錯誤如下。Oracle版本,12.1.0.2.0
原因,沒有開啓pdb。
C:\Users\admin>sqlplus sys as sysdba
SQL*Plus: Release 12.1.0.1.0 Production on 星期六 10月 12 10:40:38 2019
Copyright (c) 1982, 2013, Oracle. All rights reserved.
輸入口令:
連接到:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL> show con_name;
CON_NAME
------------------------------
CDB$ROOT
SQL> alter pluggable database pdborcl open;
插接式數據庫已變更。
SQL> select con_id,dbid,name,open_mode from v$pdbs;
CON_ID DBID NAME OPEN_MODE
---------- ---------- ------------------------------ ----------
2 3372570412 PDB$SEED READ ONLY
3 704648597 PDBORCL READ WRITE
再連接即可