Mysql server does not support 4-byte encoded utf8 characters

前端 未结 8 2151
逝去的感伤
逝去的感伤 2020-12-03 23:24

I\'ve received a server error running a Data transfer component from Sql Server to MySql db. The error message reads as follows:

[MySql][ODBC 5.1 Driver][mys

8条回答
  •  孤街浪徒
    2020-12-04 00:08

    I had the same problem which I could reproduce by simply updating a char(1) column for a single row over a linked server on SQL 2008 to a MySQL 5.1 DB:

    update linked_server_name...table_name set status = 'c' where id = 1;
    

    This error was occurring on a newly built server. I had a similar setup on another machine, where the same code worked just fine. The only difference was the version of the MySQL ODBC driver: on the new server, it was 5.2.2; on the old (working) server, it's 5.1.8 (now unsupported).

    I downloaded and installed the previous version of the ODBC driver (v5.1.11), and the problem went away.

提交回复
热议问题