文档 · 2020年3月10日 0

MySQL-this is incompatible with sql_mode=only_full_group_by

解决办法:

在mysql的配置文件my.cnf 中[mysqld]下面添加如下配置:

sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

打赏
 
MySQL-this is incompatible with sql_mode=only_full_group_by