第一次搭建orale增加表空间一直报错。后来重启解决问题。重启能解决运维当中90的问题。哈哈
SQL> SQL> alter user c##test default tablespace test;
alter user c##test default tablespace test
*
ERROR at line 1:
ORA-65048: error encountered when processing the current DDL statement in
pluggable database ORCLPDB1
ORA-00959: tablespace 'test' does not exist
SQL> SQL> CREATE USER C##test IDENTIFIED BY Cmgd1234 DEFAULT TABLESPACE test;
CREATE USER C##test IDENTIFIED BY Cmgd1234 DEFAULT TABLESPACE test
*
ERROR at line 1:
ORA-65048: error encountered when processing the current DDL statement in
pluggable database ORCLPDB1
ORA-00959: tablespace 'test' does not exist
###重启数据库解决问题
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 771749224 bytes
Fixed Size 9139560 bytes
Variable Size 603979776 bytes
Database Buffers 155189248 bytes
Redo Buffers 3440640 bytes
Database mounted.
---需要增加c##,具体可以百度,这里不展开
SQL>
SQL> alter user c##test default tablespace test;
User altered.