Linux-插入數據異常報錯[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause...

在工具端執行數據插入操做時報錯[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and...,可是數據仍是插入成功了。能夠確定sql語句沒有問題,因而就查看linux下的mysql配置問題。mysql 解決辦法:linux 1.打開mysql配置文件,加入以下配置,若是配置文件中存在請修改便可。  sql
相關文章
相關標籤/搜索