1. 1055
[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
- https://www.cnblogs.com/wbxk/p/10597839.html
- my.ini文件的[mysqld]下面配置这行;我只是添加了一行配置sql_mode,是通过查询数据库中的值去掉only_full_group_by。 SELECT @@sql_mode; 之后重启MySQL服务
# 设置sql_mode,去掉了ONLY_FULL_GROUP_BYsql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'
