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 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Oracle Database Gateway for ODBC 12.1.0.2 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
SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xxx.xxx)(PORT= 1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SID=KACE)))
ORA-02063: preceding line from DBLINNK
Process ID: 5201
Session ID: 647 Serial number: 12732

Changes

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

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
Changes
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.