以orcl实例为例子:在此实例下频繁的删除更新数据库.
1 打开cmd窗口
2 命令sqlplus
3 输入用户名: conn / as sysdba 密码:*****
4 如果有orcl那么删除
drop user orcl cascade;
5 创建orcl并授权
create user orcl identified by orcl account unlock;
grant connect,dba,imp_full_database to orcl;
6 打开新的cmd窗口 输入导入命令
imp orcl/[email protected] full=yes file=D:\jddatabak\20180413_linux_0.dmp