I created database link in a oracle 10g database to connect to a oracle 9i database, when I access the tables from these link, it keeps giving me the error like :
ORA-12154: TNS:could not resolve the connect identifier specified
The same create database link SQL statement works in the 9i database, I mean I can query the link created with the same statement in a 9i database, but not in a 10g database.
I checked the tnsnames.ora and listener.ora, I started 10g listener using lsnrctl, I run command 'status' then I got list of databases, I found this list is not stable, at beginning one or two 9i database are missing, then after while I run status I can see they appear! then the database link works!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.