使用oracle主机的ip地址和实例进行访问登录
查看oracle安装目录下的tnsnames.ora文件
lms=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.59.2)(PORT = 4781))
)
(CONNECT_DATA =
(SID = lms)
(SERVER = lms)
)
)
从以上信息获取到
用户/口令:实例创建时创建的用户密码
数据库:192.168.59.2:4781/lms:ip:端口/实例名