I have two databases in my machine. One is MIS1 and anotehr is MIS2. I created a Databses link in MIS2 to connect to MIS1. The syntax is

SQL > CREATE DATABASE LINK MYBDLINK
CONNECT TO WMS IDENTIFIED BY WMS
USING 'MIS1';

Databse Link created.

SQL> SELECT COUNT(*) FROM WMS_LOCATION@MYDBLINK;
SELECT COUNT(*) FROM WMS_LOCATION@MYDBLINK;
error: *
ORA-12640: Authentication adapter initialization failed

Can someone help in this error. No one seems to have a answer for it. I tired all the grants to the user..but still its not working.