A similar table works for my MySQL database connection. Just an idea that came into my mind. When you create a dummy table with a char column only, are you able to select from this column?
And what about select user from dual@<your database link name> - does this work?
The dual table does not exist in the MySQl database and commonly the gateway has to use an internal mechanism to get a result, does this work for you?
Error starting at line 1 in command:
select * from "dual"@monolith3
Error at Command Line:1 Column:14
SQL Error: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[MySQL][ODBC 5.2(w) Driver][mysqld-5.5.20-enterprise-commercial-advanced-log]No tables used
ORA-02063: preceding 2 lines from MONOLITH3
28500. 00000 - "connection from ORACLE to a non-Oracle system returned this message:"
*Cause: The cause is explained in the forwarded message.
*Action: See the non-Oracle system's documentation of the forwarded
Normally it should come back and report the user who's currently logged into the Oracle database:
SQL> select user from dual@MYSQL_DG4ODBC_EMGTW_1123_DB;
So there's definitely something wrong with the driver manager or the driver itself. As I never trust rpm's from unknown sources so I downloaded the tar file from MySQL directly - the file I'm using is from the tar file: mysql-connector-odbc-5.2.2-linux-glibc2.3-x86-64bit
Maybe you should also use the tar file - it contains the prebuilt libs and you only need to change the DRIVER parameter in the odbc.ini file pointing now to the new lib.