Linux 导入oracle dump

1、使用linux用户oralce登录服务器

 

2、连接oracle

sqlplus /nolog;

connect as/ sysdba;

 

3、创建用户

create user testUser indentified  by abc123456 default tablespace SCFCEB_TB temporary tablespace TEMP;

 

4、赋权

grant conncet, resource, dba to testUser;

 

5、普通导入

退出sqlplus,回到服务器命令行

imp 用户/密码 dmp路径 ignore=y full=y

imp testUser/abc123456 file=/home/data/oracle.dmp ignore=y full=y log=imp.log

 

posted @ 2022-04-08 18:14  Latiny  阅读(455)  评论(0编辑  收藏  举报