[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated c

来源:互联网 发布:国网天津物资 大数据 编辑:程序博客网 时间:2024/05/16 02:03

mysql  5.7.13 下出现的问题查询异常


在 /etc/my.cnf 文件里加上如下:
sql_mode='NO_ENGINE_SUBSTITUTION'
然后,重启Mysql服务就可以解决了!

4 5
原创粉丝点击