plsql连接oracle 及启动服务时候需要注意的问题
1.本地连接(windows)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
2.本地连接(linux)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
3.远程连接(windows)
GDS_192.168.1.9 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.9)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = GDS)
)
)
4.远程连接(linux)
GDS_192.168.1.10 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
)
(CONNECT_DATA =
(SID = GDS)
(SERVER = DEDICATED)
)
)
--------------------------------
修改文件的路径:D:\oracle\product\10.2.0\db_2\network\ADMIN
\tnsnames.ora (文件名称)
------------------------------------
安装oracle后需要注意的问题:断网安装的联网安装的启动服务的时候要对应