Oracle-11g多实例切换登陆sqlplus
技术张儿 • 2 年前 • 1215 次点击 • ORACLE
需要切换到其他实例sqlplus登陆时。只需要如下操作
编辑变量:
vim /home/oracle/.bash_profile
# 修改SID的变量,修改成需要想要连接的oracle实例。
source /home/oracle/.bash_profile
source之后就可以sqlplus / as sysdba登陆
技术张儿 • 2 年前 • 1215 次点击 • ORACLE
需要切换到其他实例sqlplus登陆时。只需要如下操作
编辑变量:
vim /home/oracle/.bash_profile
# 修改SID的变量,修改成需要想要连接的oracle实例。
source /home/oracle/.bash_profile
source之后就可以sqlplus / as sysdba登陆