ITPub博客

首页 > 数据库 > Oracle > ORA-12514: TNS:listener does not currently know of service requested in connect

ORA-12514: TNS:listener does not currently know of service requested in connect

原创 Oracle 作者:raysuen 时间:2016-09-06 16:07:12 0 删除 编辑
[oracle@kcpttest ~]$  sqlplus scott/tiger@192.168.2.227:1521/kcptdg1

SQL*Plus: Release 11.2.0.4.0 Production on Tue Sep 6 15:52:48 2016

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor


Enter user-name:

解决:
发现远端数据库为RAC架构,必须使用service_name或者db_name
[oracle@kcpttest ~]$  sqlplus scott/tiger@192.168.2.227:1521/kcptdg

SQL*Plus: Release 11.2.0.4.0 Production on Tue Sep 6 15:54:41 2016

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28572479/viewspace-2124594/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
擅长oracle,Linux。精通shell,python。

注册时间:2016-08-23

  • 博文量
    145
  • 访问量
    227100