sqlplus登录,报错,ORA-12154: TNS:could not resolve the connect identifier specified
来源:互联网 发布:电子书包软件下载 编辑:程序博客网 时间:2024/06/09 20:29
sqlplus登录如下:
C:\Users\user>sqlplus test/test@10.13.17.19:1521/orcl
报错,ORA-12154: TNS:could not resolve the connect identifier specified
原因是:
特别安装版的sqlplus或者plsql,只能连接tnsnames.ora中有的服务名,用ip和端口号这种,是不行的。
所以要在tnsnames.ora中增加配置,或者通过net manager来界面上设置:
另外登录命令的最后,不能有”;“分号,不然,也会报这个错误。
阅读全文
0 0
- sqlplus登录,报错,ORA-12154: TNS:could not resolve the connect identifier specified
- PL/SQL 报错(ORA-12154:TNS:could not resolve the connect identifier specified)解决
- Toad报错ORA-12154: TNS:could not resolve the connect identifier specified解决方法
- 使用sqlplus连接数据库时报"ORA-12154:TNS:could not resolve the connect identifier specified"解决办法
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORA-12154:TNS could not resolve the connect identifier specified
- ORA-12154: TNS: could not resolve the connect identifier specified
- ORA-12154:TNS:could not resolve the connect identifier specified
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORA-12154: TNS:could not resolve the connect identifier specified
- 数据库并发操作带来的问题以及解决方案
- mybatis一对一的三种实现方式 数据准备: 使用mysql数据库作为测试。建表语句及测试数据: CREATE TABLE `classes` ( `class_id` int(11) NOT
- mybatis的jdbcType和javaType、oracle,MySQL的对应类型
- 映射规则4
- ios返回指定页
- sqlplus登录,报错,ORA-12154: TNS:could not resolve the connect identifier specified
- 安装Vue.js
- Spring Boot中使用MyBatis注解配置详解
- 使用Spring实现读写分离( MySQL实现主从复制)
- CDH5.10.1集群安装文档
- Git使用详细教程
- DSP-Cache优化
- 触发器实现同步两个数据库
- C++函数新特性——内联函数