ERROR
When running certain geoprocessing tools on an Oracle 12c database the following error is encountered:
"ORA-65096: invalid common user or role name."
Below are examples of error messages received using the Create Enterprise Geodatabase tool:
"Error creating geodatabase admin user. [ERROR: Failed to create new Oracle user sde (-51)."
"Error: Underlying DBMS error (-51). Extended error code: (65096)"
"ORA-65096: invalid common user or role name."
"Failed to execute (CreateEnterpriseGeodatabase)."
This error is encountered when running the following tools:
This is due to the specified Oracle instance being a container database. As part of the new multi-tenant functionality at Oracle 12c, databases can be created as a container database with associated pluggable database(s).
Currently, Oracle is designed to support users at the container level only for administrative tasks. Due to this design, enterprise geodatabases do not function at the container level.
Instead of providing the connection string to the container database, provide a connection string to one of the pluggable databases.
To check if a connection is to a container database run the following query in Oracle:
SELECT CDB FROM V$DATABASE;
If the result of this query is 'YES', run the following query to determine if there are any pluggable databases within the container:
SELECT NAME, OPEN_MODE FROM V$PDBS WHERE CON_ID > 2;
If there are pluggable databases available:
Or,
Get help from ArcGIS experts
Download the Esri Support App