本地的Oracle数据库是版本是10g的,远程的数据库版本版本是11g,在本地建数据库连接后执行测试查询语句竟然出错,用户名/密码明明是对的。SQL> create database link DBLINK_TEST
connect to test identified by test
using "10.10.15.25_11";
数据库链接已创建。
SQL> select count(*) from remote_big_tab@DBLINK_TEST;select count(*) from remote_big_tab@DBLINK_TEST
*
第 1 行出现错误:
ORA-01017: invalid username/password; logon denied
ORA-02063: 紧接着 line (起自 DBLINK_TEST)通过PL/SQL developer查看数据库连接的定义,原来用户名/密码被改为大写了,于是换了中方法建,可以了。SQL> drop database link DBLINK_TEST;
数据库链接已删除。
SQL> create database link DBLINK_TEST
connect to "test" identified by "test"
using "10.10.15.25_11";
数据库链接已创建。
SQL> select count(*) from remote_big_tab@DBLINK_TEST;
COUNT(*)
----------
1155648
更多详情见请继续阅读下一页的精彩内容: http://www.linuxidc.com/Linux/2013-11/93065p2.htm
相关阅读:ORA-01172、ORA-01151错误处理 http://www.linuxidc.com/Linux/2013-06/86529.htmORA-00600 [2662]错误解决 http://www.linuxidc.com/Linux/2013-06/86528.htmORA-01078 和 LRM-00109 报错解决方法 http://www.linuxidc.com/Linux/2012-07/66044.htmORA-00471 处理方法笔记 http://www.linuxidc.com/Linux/2013-09/90017.htmORA-00314,redolog 损坏,或丢失处理方法 http://www.linuxidc.com/Linux/2013-09/90646.htmORA-00257 归档日志过大导致无法存储的解决办法 http://www.linuxidc.com/Linux/2013-09/90594.htm<!-- Baidu Button BEGIN -->细说ORA-08104错误hint OPAQUE_TRANSFORM产生的原因相关资讯 ORA-01017
- sqlplus登录Oracle时ORA-01017: (05/27/2014 18:34:35)
- ORA-01017 数据库连接错误 (08/21/2013 12:01:20)
- ORA-01017/ORA-02063 DbLink建立错 (01/30/2013 08:00:27)
| - duplicate报ORA-01017权限问题 (05/27/2014 18:29:46)
- Data Guard RMAN-04006 和 ORA- (03/17/2013 15:12:07)
- Oracle 创建dblink 报错:ORA-01017 (01/21/2013 18:57:28)
|
本文评论 查看全部评论 (0)