Database Administration (MOSC)

MOSC Banner

imp system/<passwd>@alias into PDB (12c)

edited Mar 21, 2017 5:00AM in Database Administration (MOSC) 4 commentsAnswered

I tried to do a conventional IMP with the following command

IMP pdb3admin/<passwd>@pdb3 file=some.dmp  fromuser=xy,uv touser=xy,uv grants=no

and got and error that only DBA can to that, when DBA did the export.

I thought that pdb3admin was the PDBs' DBA, isn't it?

The I tried

IMP system(<passwd>@alias file=some.dmp etc...

and it worked. So what is pdb3admin good for anyway?

When I do

sqlplus system/passwd

and do a subsequent

conn / as sysdbaalter session set container=pdb3drop user xy cascade

can I be sure that I hit the user schema in PDB3?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center