执行
set @@global.sql_mode =‘STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION‘;
执行这句 mysql8以上没有NO_AUTO_CREATE_USER
解决大于5.7版本mysql的分组报错Expression #1 of SELECT list is not in GROUP ...
2022-06-07 19:39:29
执行
set @@global.sql_mode =‘STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION‘;
执行这句 mysql8以上没有NO_AUTO_CREATE_USER
解决大于5.7版本mysql的分组报错Expression #1 of SELECT list is not in GROUP ...