I have a problem accessing to a remote db thru a database link (the 2 dbs are on different servers).
The same user/pwd is defined for both db and
if I simply run CONNECT user/pwd@orcl, it works !
my sql is the following :
CREATE DATABASE LINK dblink USING 'orcl';
SELECT * FROM MAURIENNE@orcl; (-> error msg)
DROP DATABASE LINK orcl;
I get the error
ORA-01017: invalid username/password; logon denied
I also get the same error message with CONNECT TO:
CREATE DATABASE LINK dblink CONNECT TO user BY pwd USING 'orcl';
Any help hotly welcome !!!
Thanks,
Benouche
The same user/pwd is defined for both db and
if I simply run CONNECT user/pwd@orcl, it works !
my sql is the following :
CREATE DATABASE LINK dblink USING 'orcl';
SELECT * FROM MAURIENNE@orcl; (-> error msg)
DROP DATABASE LINK orcl;
I get the error
ORA-01017: invalid username/password; logon denied
I also get the same error message with CONNECT TO:
CREATE DATABASE LINK dblink CONNECT TO user BY pwd USING 'orcl';
Any help hotly welcome !!!
Thanks,
Benouche