mysql命令gruop by报错this is incompatible with sql_mode=only_full_group_by

mysql命令gruop by报错this is incompatible with sql_mode=only_full_group_by

在 [mysqld]和[mysql]下添加 sql_mode ='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
posted @ 2022-07-21 09:56    阅读(26)  评论(0编辑  收藏  举报