oracle database import

oracle database import

 

sqlplus / as sysdba local login or sqlplus /nolog 

 

Step 1: Create a path: create directory dirc as 'c:\' //where dirc is the key of the path

              Delete path: drop directory dirc //Delete by key

Step 2: Create tablespace: Visually create C:\app\Administrator\product\11.2.0\dbhome_1\install Find the readme file in the directory, and there is https://localhost:1158/em in the file to log in in ie,

              Log in with the user password and find the server-tablespace-create 

Step 3: Create a user and set permissions

             create user username identified by password;

             grant permission, permission to username

 

quit;

 

Start importing:

impdp username/password directory = path key dumpfile = database file name schemas=GNJS remap_schema=GNJS:xlsgrid;

 

schemas=GNJS remap_schema=GNJS:xlsgrid // is to change the original database user to the user set by yourself

 

OK

 

 

 

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326538006&siteId=291194637