mysql Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nona
生活随笔
收集整理的這篇文章主要介紹了
mysql Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nona
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
1. 操作mysql的時候提示如下錯誤
[Err] 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; this is incompatible with sql_mode=only_full_group_by此問題需要刪除sql_mode中的only**字段
修改為
sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
保存重啟即可
轉(zhuǎn)載于:https://www.cnblogs.com/youran-he/p/9559639.html
總結(jié)
以上是生活随笔為你收集整理的mysql Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nona的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Java类之File记录
- 下一篇: linux cmake编译源码,linu