Problems Selecting Mysql Blob Data Using Hsodbc - Error In Your SQL Syntax
(Doc ID 739274.1)
Last updated on FEBRUARY 01, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 10.1.0.2 to 10.2.0.2 [Release 10.1 to 10.2]Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
Trying to select BLOB data from MySQL using 10g HSODBC and MySQL ODBC drivers gives the following error -
SQL> select * from test_blob@mysql ;
ERROR:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
Generic Connectivity Using ODBC][MySQL][ODBC 3.51
Driver][mysqld-5.0.24a-community-nt]You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for the right syntax
to use near '"TEST_BLOB" WHERE "col1"='Bill '' at line 1 (SQL State: 37000; SQL
Code: 1064)
ORA-02063: preceding 2 lines from MYSQL
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 |
Cause |
Solution |