Last updated on MARCH 27, 2013
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 to 22.214.171.124 [Release 11.1 to 11.2]
Information in this document applies to any platform.
Add ***Checked for relevance on 10-May-2012***
Using the Database Gateway for ODBC (DG4ODBC) 126.96.36.199 on Linux x86 5.3 to select from MySQL using a PL/SQL procedure fails with error :
ORA-04052: error occurred when looking up remote object vpdodbc.discounts@MYSQL
ORA-00604: error occurred at recursive SQL level 1
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[MySQL][ODBC 5.1 Driver][mysqld-5.0.45]SELECT command denied to user
'vpdodbc'@'mysql.host' for table 'discounts'
ORA-02063: preceding 2 lines from MYSQL
The same command works successfully in a SQL statement run from SQLPLUS.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms