My Oracle Support Banner

DG4ODBC 12c Connecting to MySQL Gives ORA-28511 Error Selecting Any Table (Doc ID 2670021.1)

Last updated on MAY 13, 2020

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


Oracle Database Gateway for ODBC connecting to MySQL database via MySQL ODBC driver 5.2.5, the command from sqplus session fails with the below error -

select * from "table_name"@dblink;
ERROR at line 1:
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
ORA-02063: preceding line from DBLINNK
Process ID: 5201
Session ID: 647 Serial number: 12732


 Upgraded from Oracle database 11gR2 and Oracle Database Gateway for ODBC 11gR2 to Oracle database and Oracle database gateway for ODBC 12c


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

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