nsjd.net
当前位置:首页 >> orAClE 12C 怎样配置TNS来访问PDB >>

orAClE 12C 怎样配置TNS来访问PDB

Oracle 12c连接PDB时,listener和tnsnames.ora配置 1、配置监听 首先要明确,所有的PDB都使用1个监听,配置多个实际上启动时也只有第1个有意义。 LISTENER= (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =ora12c_A)(PORT = 1521)) ) 接下来...

把listener改成这样了,然后重启了之后再试: SID_LIST_LISTENER_DB12C = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = db12c) (ORACLE_HOME = /ora/app/oracle/product/12.1) (SID_NAME = db12c) ) ) LISTENER_DB12C = (DESCRIPTION_LIST = (DESC...

应该是在TNS配置中将service name配置成PDB的service name值(即在Oracle服务器的侦听配置中为这个PDB所设置的service name)。 而要能访问到PDB,在Oracle服务器上必须在侦听配置中为PDB设置好service name和侦听;也必须在Oracle服务其中之后,...

把listener改成这样了,然后重启了之后再试: SID_LIST_LISTENER_DB12C = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = db12c) (ORACLE_HOME = /ora/app/oracle/product/12.1) (SID_NAME = db12c) ) ) LISTENER_DB12C = (DESCRIPTION_LIST = (DESC...

把listener改成这样了,然后重启了之后再试: SID_LIST_LISTENER_DB12C = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = db12c) (ORACLE_HOME = /ora/app/oracle/product/12.1) (SID_NAME = db12c) ) ) LISTENER_DB12C = (DESCRIPTION_LIST = (DESC...

把listener改成这样了,然后重启了之后再试: SID_LIST_LISTENER_DB12C = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = db12c) (ORACLE_HOME = /ora/app/oracle/product/12.1) (SID_NAME = db12c) ) ) LISTENER_DB12C = (DESCRIPTION_LIST = (DESC...

可以,原因是pdb连接需要通过监听和tns,你得先建立连接pdb的tns,再改那个utlsampl.sql这个脚本,connect scott/tiger后面缺少连接串

网站首页 | 网站地图
All rights reserved Powered by www.nsjd.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com