Home / Oracle Errors / ORA-65096

ORA-65096

Invalid common user or role name

What it means

In a multitenant database, you tried to create a normal user in the root container.

Common causes

How to fix it

  1. Switch to your PDB: ALTER SESSION SET CONTAINER=<pdb_name>; then create the user
  2. Or create a common user with the prefix: CREATE USER C##APPUSER IDENTIFIED BY "<pwd>";

How to prevent it

Create application users inside the PDB.

Still stuck? Ask the community in Q&A.

Get the weekly Vismo digestNew Oracle articles and Q&A in your inbox. No spam.

One email a week. Unsubscribe any time.