Home  >  Article  >  Database  >  使用dblink出现ORA-01017

使用dblink出现ORA-01017

WBOY
WBOYOriginal
2016-06-07 17:33:271557browse

本地的Oracle数据库是版本是10g的,远程的数据库版本版本是11g,在本地建数据库连接后执行测试查询语句竟然出错,用户名/密码明明

本地的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

更多详情见请继续阅读下一页的精彩内容:

相关阅读:

ORA-01172、ORA-01151错误处理

ORA-00600 [2662]错误解决

ORA-01078 和 LRM-00109 报错解决方法

ORA-00471 处理方法笔记

ORA-00314,redolog 损坏,或丢失处理方法

ORA-00257 归档日志过大导致无法存储的解决办法

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn