ORA-01109: 数据库未打开 01109. 00000 - "database not open" *Cause: A command was attempted that requires the database to be open.

*Action:   Open the database and try the command again

启动数据库

Oracle问题:ORA-01109解决办法_数据库

达到open状态

后面发现连接的那个库没有到opened状态

select con_id,name,open_mode from V$pdbs;

Oracle问题:ORA-01109解决办法_数据库_02

可以看到KJPDB还在mounted状态

alter pluggable database KJPDB open;
alter session set cnotallow=KJPDB;
commit;

Oracle问题:ORA-01109解决办法_数据库_03

这时数据库已真正启动