oracle 19c连接容器数据库
方法1: sqlplus sys/oracle@192.168.162.101/pdb1 as sysdba 方法二: 修改tnsnames.ora文件,添加对应容器数据库服务 PDB1 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.162.101)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = pdb1) ) ) 连接: sqlplus sys/oracle@pdb1 as sysdba 方法3: 进入cdb,再切换到pdb alter session set container=pdb1;