原文: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