Creating database link from one Oracle database to another
On first database DB1, I created an entry in tnsnames file for DB2 (the db I want to link to).
Then I am going to run the following sql on DB1:
CREATE PUBLIC DATABASE LINK DB2
CONNECT TO USR IDENTIFIED BY PWD
USING 'DB2';
Is that good enough or am I missing something? Do I still need a username in my CREATE LINK statement even though database link is public?