以下是我的方法,请参考 1、建新的用户名 sqlplus system/system@bill create user billtest identified by billtest; grant connect,resource,dba to billtest; commit; alter user billtest default tablespace users; alter user billtest temporary tablespace temp; 2、 将备份的数据库导入 imp billtest/billtest@bill file= F:\ora-bill-backup\0120dmp.DMP fromuser=billing touser=billtest ignore=y
你的ORacle上必须建相同的用户名,表空间,及与原用户一样的权限。
imp时指定 fromuser和 touser 和相应的密码就可以了。
1、建新的用户名
sqlplus system/system@bill
create user billtest identified by billtest;
grant connect,resource,dba to billtest;
commit;
alter user billtest default tablespace users;
alter user billtest temporary tablespace temp;
2、 将备份的数据库导入
imp billtest/billtest@bill file= F:\ora-bill-backup\0120dmp.DMP fromuser=billing touser=billtest ignore=y