相当于一个错题本吧,以及使用笔记。

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

mysql 相关的错误总结

改错如下:

select version(), @@sql_mode;
SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));

第一行是查看sql_mode。

第二行是修改。

mysql 相关的错误总结

完美解决~


 

相关文章:

  • 2021-08-06
  • 2021-08-06
  • 2022-01-03
  • 2021-08-15
  • 2021-06-22
  • 2021-10-01
  • 2021-09-27
  • 2021-07-22
猜你喜欢
  • 2021-10-12
  • 2021-12-20
  • 2021-04-25
  • 2021-06-07
  • 2022-12-23
  • 2022-12-23
  • 2022-02-06
相关资源
相似解决方案