Oracle Database / Accounts, Security & Access
ORA-02085: investigate a database link global-name mismatch
A database link can connect remotely but fail naming checks when its name differs from the remote global database name.
Environment and inputs: Oracle Database 19c baseline · SQL*Plus-compatible SQL unless RMAN, DGMGRL, ADRCI or a host shell is specified. Check release, patch level, edition and container first.
Start with this diagnostic
Run each example in the tool named in the guide: SQL, RMAN, DGMGRL or the host command shell. Replace example names with approved values. To query DBA and V$ views, use authorized catalog access in the correct database container. Do not add broad permissions just to run an example.
SELECT global_name FROM global_name;
SELECT name, value FROM v$parameter WHERE name = 'global_names';
What the results mean
Run in the relevant authorized contexts to compare the remote global name and local naming policy. The queries do not modify link behavior.
Fix the cause and check again
Reconcile the approved link name and target identity, then recreate or correct the link through the DBA's secure procedure if required.
Before you make a change
Do not disable GLOBAL_NAMES globally merely to hide an incorrect remote target.