Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using PDB local user for an application

1491457May 17 2016 — edited Jun 28 2016

While creating repository using content server, I got following error message

"ORA-65049: creation of local user or role is not allowed in CDB$ROOT"

After changing SERVICE_NAME in tnsnames.ora, make it to point at PDB by tnsnames.ora or through netca.

Before:

ORCL =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST = 10.62.51.48)(PORT = 1521))

)

(CONNECT_DATA =

(SERVICE_NAME = orcl.test.installer.com)

)

)

After:

PDBORCL =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST = 10.62.51.48)(PORT = 1521))

)

(CONNECT_DATA =

(SERVICE_NAME = pdborcl.test.installer.com)

)

)

Then local user and tables got created successfully.

My questions are as follows:

  1. Till now we are handling data base using local user, Is it recommended way to create local user in PDB, and using that for our application? Is causes any disadvantages?
  2. Any disadvantages of using PDB to create locale user and table space? Is it causes any security issue?
  3. Suggest me any other plan if you have for this issue?

Thanks

Vinayak

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 26 2016
Added on May 17 2016
3 comments
1,533 views