首页 > 数据库 >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

时间:2023-02-13 10:33:40浏览次数:60  
标签:full group NO sql 报错 mode mysql gruop

 

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';

 

 

标签:full,group,NO,sql,报错,mode,mysql,gruop
From: https://www.cnblogs.com/RedOrange/p/17091717.html

相关文章