系统:linux
基于docker
镜像:akaiot/oracle_11g(阿里云镜像,=registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g)所有密码helowin
容器建造命令:docker run -d --name oracle_11g -p 1521:1521 --privileged=true --restart=always -e TZ=Asia/Shanghai -v /home/docker/oracle/backup:/home/oracle/backup akaiot/oracle_11g
用户:
create user root identified by “password@123”; grant connect,resource,dba,sysdba to root;
create user testuser identified by “password123”; grant connect,resource,dba to testuser;
备份文件:20220705_03014.dmp
暂时无法在飞书文档外展示此内容
导入命令:imp root/password@123 file=20220705_03014.dmp full=y log=import.log
备注:impdp root/password@123 directory=backup dumpfile=20220705_03014.dmp full=y logfile=import.log 导入失败。