ORACLE12C Create user prompt ORA-65096: Invalid public user name or role

Source: Internet
Author: User
Tags oracle database security guide

1. Background

Used to be oracle11g, create users have no problem, today on the oracle12c to create users, error. Such as:

I was depressed, opened the Oracle official website to find the next, found that the creation of the user is limited.

2. Solution

User name in C # #或者C # #开头即可 when creating a user.

Error wording: Create user Zhaojiedi identified by Oracle; correct notation: Create User C # #zhaojiedi identified by Oracle;

Note: If you do not struggle with why, the above solution can meet your requirements, the following content can not be looked at.

========================================================================

========================================================================

3. Resolution Process

The following process is my solution to this problem, also written to share.

I entered the Oracle 12c official documentation

Go to the following page

ORACLE12C Home

Administrator ' s Guide

Managing Users and securing the Database

Oracle Database Security Guide

Creating User Accounts

After a search, the Creating User Accounts page found something like:

The above hints are very clear. Creating a public user name must be #开头了 in C # #或者C #. We have an error above. It's because we're creating a public user that doesn't use C # #或者C # #开头的.

By this we will know the reason for the specific mistake. Then the winning solution is there.

If you still have a tangle of public and local users, theCreating user Accounts page has an introduction.

oracle12c Create user prompt ORA-65096: Public user name or role is not valid

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.