My Oracle Support Banner

DBLink Creation Failure: ORA-00604 ORA-06512 ORA-20001: User defined error here: "Sorry, Access Denied" (Doc ID 2227179.1)

Last updated on JANUARY 18, 2025

Applies to:

Oracle Net Services - Version 11.2.0.4 to 19.3.0.0.0 [Release 11.2 to 19]
Oracle Database - Enterprise Edition - Version 19.6.0.0.0 and later
Gen 2 Exadata Cloud at Customer - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

The attempt to create a database link is failing with the following error stack:


ORA-00604: error occurred at recursive SQL level 1
ORA-20001: ---> Sorry, Access Denied To MY_Schema via dblink from myhostname using ORACLE@MYDBLINK (TNS V1-V3)
ORA-06512: at line 57
ORA-02063: preceding 3 lines from MYDBLINK

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.