# Oracle切换pdb

# 账号解锁、修改密码

su - oracle

sqlplus /nolog

SQL> conn /as sysdba

#切换pdb
ALTER SESSION SET CONTAINER=ORCLPDB;

#账号解锁
ALTER USER test ACCOUNT UNLOCK;

#修改密码
ALTER USER test IDENTIFIED BY test123;

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15