ORA-12514 TNS:listener does not currently know of service requested in connect d
程序员文章站
2022-07-09 22:50:09
第一步:
在数据库中查询数据库服务名称
select value from v$parameter where name='service_names'...
第一步:
在数据库中查询数据库服务名称
select value from v$parameter where name='service_names'
第二步:
port后为查询到的服务名称
sqlplus username/passwd@IP:port/servicename
或者修改tnsnames.ora中的SERVICE_NAME
TEST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = *<validhost>*)(PORT = *<validport>*)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = *<servicenamefromDB>*) ) )
上一篇: 互联网产品运营管理工作的工作内容
下一篇: py基础知识了解
推荐阅读
-
dataguard ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
-
ORA-12514 TNS:listener does not currently know of service requested in connect d
-
php 远程连接oracle 报TNS:listener does not currently know of service
-
dataguard ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
-
php 远程连接oracle 报TNS:listener does not currently know of service