原文:1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is not functionally dependent on columns in GROUP BY clause

解决方法一: SET sql mode SELECT REPLACE sql mode, ONLY FULL GROUP BY , 优点:不用重启mysql 缺点:重启mysql后还会出现标题错误 SELECT global.sql mode 查询全局的 session.sql mode 当前回话的 上面的只是修改当前回话,需要修改全局的sql mode 解决方法二 在my.cnf中修改 mysq ...

2018-10-12 11:31 0 2485 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM