Asp.Net连接Mysql报错Out of sync with server
原因:程序引用的MySql.Data.dll版本高于服务器版本
解决:下载一个低版本的MySql.Data.dll,项目重新引用