How to resolve ORA-02011 Error Message in Oracle database

Learn the motive and how to get to the bottom of the ORA-02011 error message in Oracle.

Description

When you stumble upon an ORA-02011 error, the following error message will appear:

ORA-02011: duplicate database link name

Cause

You tried to create a database link (using the CREATE DATABASE LINK command), however a hyperlink with that title already exists.

Resolution

The option(s) to resolve this Oracle error are:

Option #1

Either specify a new identify or drop the existing database link.