Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DB_LINK

happy10319Jun 22 2010 — edited Jun 22 2010
Hi,
On 10g, I create a DB_LINK but does not function :
SQL> CREATE PUBLIC DATABASE LINK REMDB.WORLD USING '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(COMMUNITY=TCP)(PROTOCOL=TCP)(Host=Localho
st)(Port=1521)))(CONNECT_DATA=(SID=REMDB)))';

Database link created.

SQL> select count(*) from SCOTT.EMP@REMDB.WORLD;
select count(*) from SCOTT.EMP@REMDB.WORLD
                               *
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
ORA-02063: preceding line from REMDB
[/code]
How to authorize sys  or other users? SYS has the same password on current DB and remote DB.

Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
This post has been answered by Fahd.Mirza on Jun 22 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2010
Added on Jun 22 2010
12 comments
1,074 views