Oracle Solution for Error ora-02085

Solution for Oracle Error ORA-02085

ORA-02085: database link string connects to string

What triggered the Error:

a database link connected to a database with a different name. The connection is rejected.

What should we do to fix it:

create a database link with the same name as the database it connects to, or set global_names=false.