MS server connect to MySQL (ODBC)
I just installed SQL Server 2008 R2. I added mysql-connector-odbc-5.1.6-win32.msi to connect to MySQLl database. It is not working properly . Please help – what driver can be used? - (VStudio 2008) when try to add/remove tables for DATA Source Views , I am getting an error ERROR [42000] [MySQL][ODBC 5.1 Driver][mysqld-5.1.32-community-log]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 '[ fchclient]' at line 2 (myodbc5.dll) - (VStudio 2008) when try to add ADO.NET with data access mode: table or view, I am getting an error : TITLE: Microsoft Visual Studio ------------------------------ Error at Data Flow Task [ADO NET Source [1]]: The component "ADO NET Source" (1) was unable to retrieve column information for the SQL command. The following error occurred: ERROR [42000] [MySQL][ODBC 5.1 Driver][mysqld-5.1.32-community-log]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 '"art"' at line 1 ------------------------------ ADDITIONAL INFORMATION: Pipeline component has returned HRESULT error code 0xC02020FF from a method call. (Microsoft.SqlServer.DTSPipelineWrap) ------------------------------ BUTTONS: OK ------------------------------ - (VStudio 2008) when try to add ADO.NET with data access mode: SQL command - is working.
May 27th, 2010 11:07pm

It seems related to the version of your mysql server. The driver is building wrong syntax to retrieve column information. You need to check mysql support or forum to see the compatible versions or if any tracing is possible. Thanks. Liu An - MSFT
Free Windows Admin Tool Kit Click here and download it now
June 1st, 2010 5:23am

Hi Lenora2010, I have the same problem. Were you able to solve it? MySQL does not offer any other version or a newer version of the driver yet. Regards, Alex
December 6th, 2010 5:18am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics