ZKR_Ali =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 47.92.200.195) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
以上是正确的tnsnames.ora的配置信息。
ZKR_Ali =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 47.92.200.195 PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
这是错误的配置信息,少了" )" "(" ,HOST 和PORT中间少了括号,mark一下,