ORACLE導入數據庫詳細步驟


登錄PLSQL

點擊然后打開命令窗口執行命令

創建表空間(紅色字體是你需要創建表空間的地址,藍色的是表空間大小)

create temporary tablespace ZJY_TEMP 

tempfile '/usr/u01/app/oradata/orcl/COUP'

size 500m

autoextend on 

next 500m maxsize 20480m 

extent management local; 

 

在表空間內創建用戶(本次使用了3個用戶,紅色的是用戶名,藍色的是表空間名)

create user fe_base5 identified by "oracle" default tablespace COUP;

create user fe_ap5 identified by "oracle" default tablespace COUP;

create user fe_erp identified by "oracle" default tablespace COUP;

 

給用戶授權(給你需要使用的用戶授權,紅色的是用戶名,藍色的是需要添加的權限)

grant connect,resource,dba to fe_erp;

grant connect,resource,dba to fe_ap5;

grant connect,resource,dba to fe_base5;

 

打開CMD執行導入數據庫命令(藍色的是需要導入的數據庫地址)

imp fe_base5/oracle@127.0.0.1/orcl file=D:\oracleshujuku\fe_base5.dmp full=y;

imp fe_app5/oracle@127.0.0.1/orcl file=D:\oracleshujuku\fe_app5.dmp full=y;

imp fe_erp/oracle@127.0.0.1/orcl file=D:\oracleshujuku\fe_erp.dmp full=y;


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM