Skip to content
Home » Oracle » How to Resolve ORA-65045: pluggable database not in a restricted mode

How to Resolve ORA-65045: pluggable database not in a restricted mode

  • Oracle

ORA-65045

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 further operation.

Leave a Reply

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