How to Resolve ORA-65045 Error Message

  • by

ORA-65045: pluggable database not in a restricted mode

If you saw ORA-65045 like this:

SQL> alter database rename global_name to ORCLPDBX;
alter database rename global_name to ORCLPDBX
*
ERROR at line 1:
ORA-65045: pluggable database not in a restricted mode

Or this:

SQL> alter pluggable database ORCLPDB rename global_name to ORCLPDBX;
alter pluggable database ORCLPDB rename global_name to ORCLPDBX
*
ERROR at line 1:
ORA-65045: pluggable database not in a restricted mode

ORA-65045 means that you should enable restricted mode to limit public connections on the pluggable database (PDB) for this operation.

Leave a Reply

Your email address will not be published. Required fields are marked *