“this is incompatible with sql_mode=only_full_group_by“

mysql8处理方法

sql_mode ='STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION'

mysql5.7处理方法

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

猜你喜欢

转载自blog.csdn.net/qq_25983579/article/details/114505129