my.cnf 的 [mysqld]下加上 sqlmode='NOENGINE_SUBSTITUTION' 转载于:https://www.cnblogs.com/JohannaFeng/p/5642061.html