美文网首页
mysql5.7执行sql语句报错:In aggregated

mysql5.7执行sql语句报错:In aggregated

作者: 史庆雨 | 来源:发表于2018-08-08 15:15 被阅读34次

报错

mysql5.7执行sql语句报错:In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'yunva_changke.u.user_id'; this is incompatible with sql_mode=only_full_group_by

如图

解决方案:

1.编辑/etc/my.cnf文件 如图   2.重启mysql服务

相关文章

网友评论

      本文标题:mysql5.7执行sql语句报错:In aggregated

      本文链接:https://www.haomeiwen.com/subject/idcxbftx.html