Ora-4052 Ora-28500 With DG4ODBC Select Command Denied Using Pl/Sql And Mysql
(Doc ID 819344.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 to 126.96.36.199 [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) 188.8.131.52 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.
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