远程服务器使用docker安装了oracle数据库,下面是如何解锁scott
1.进入oracle11g 容器
docker ps -a 查询所有容器
docker exec -it oracle11g /bin/bash
进入容器内部
2.sqlplus / as sysdba 使用sqlplus 连接数据库
3.解锁 scott
alter user scott account unlocked;//分号不能少,指令结束
alter user scott identified by tiger;//这里应该是设置密码,可以设置为其他密码
否则使用scott账号登录时提示 密码提示过期