I am using Oracle 11g express edition. I have created tables, stored procedures and it works fine. I have my user "System" with password "xyz" (main user during installation).
Then i have created two databases "abc" and "pqr" with same user.
I wanted to create database link from abc to pqr.
create database link testlink
connect to pqr identified by xyz
using '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)) (CONNECT_DATA=(sid=xe)))';
I am getting error "Insufficient privileges". Please help me out.

CREATE DATABASE LINKsystem privilege and the connecting user hasCREATE SESSIONsystem privilege.