在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
在Orcle服务在服务器本机上正常运行的情况下,并且Orcl服务器端口开启和防火墙允许的情况下,进行以下操作: 1. 修改Orcl监听文件(路径不分大小写D:\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora) SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = D:\Oracle\product\11.2.0\dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:D:\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll") ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = **(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) //加入这部分** (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ) ) ADR_BASE_LISTENER = D:\Oracle 2. 查看服务名称,并记录下来路径不分大小写D:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora) LISTENER_ORCL = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ORACLR_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (CONNECT_DATA = (SID = CLRExtProc) (PRESENTATION = RO) ) ) ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) **(SERVICE_NAME = orcl) //记下这部分** ) ) 3.进行数据库设置
|
请发表评论