1

Our MySQL error log contains several thousands of the following Warning: Client failed to provide its character set. 'utf8' will be used as client character set.

We're using MySQL 5.6.14 CE Server on Windows Server 2012. I can't figure out how to get the warning to go away.

I've tried updating the ODBC DSN to use a specific character set, tried setting the charset in the connection string, and tried setting numerous variables in my.ini, and restarted the database. Nothing seems to work.

4

1 回答 1

0

I updated the connector for our websites to the latest version and this warning has stopped appearing. I'm just going to go out on a limb and guess that the 1.10.1.0 version of MySQL Connector/.Net was not passing the charset variable I had placed in our connection strings.

Still curious why --log-warnings=0 parameter prevents the MySQL service from starting, and why log-warnings=0 in the my.ini did not stop the warning from showing up in the error log, but I guess that is another question.

于 2013-11-14T19:55:42.800 回答