作者在 2017-11-10 17:28:22 发布以下内容
设置方法:
在[mysqld]下面添加一行:vi /etc/mysql/mysql.conf.d/mysqld.cnf
sql-mode="NO_ENGINE_SUBSTITUTION,ERROR_FOR_DIVISION_BY_ZERO"
设置方法:
在[mysqld]下面添加一行:vi /etc/mysql/mysql.conf.d/mysqld.cnf
sql-mode="NO_ENGINE_SUBSTITUTION,ERROR_FOR_DIVISION_BY_ZERO"