如何区分Oracle的数据库,实例,服务名,SID
2个回答
展开全部
拿你Oracle的Tns文件举例:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
数据库是Host=localhost 下IP的数据库,Port=1522是端口号,Service_NAME=ORCL是服务名
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
数据库是Host=localhost 下IP的数据库,Port=1522是端口号,Service_NAME=ORCL是服务名
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |