MYSQL ERR 1055 ONLY_FULL_GROUP_BY 错误解决
2017-03-18 18:28
513 查看
MYSQL ERR 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
初步判定是数据库的SQL_MODE配置错误,具体可以通过这个SQL来查看:
select @@sql_mode;
如果有配置ONLY_FULL_GROUP_BY的配置项。可以在MY.CNF重新配置sql_mode来解决。
把SQL_MODE中的ONLY_FULL_GROUP_BY配置项删除掉,重启服务器即可。
如果没有sql_mode的配置可以使用以下配置信息:
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
相关文章推荐
- mysql 1055错误的解决办法 【MYSQL5.7版本sql_mode=only_full_group_by问题】
- 解决:mysql 5.7.9 [Err] 1055 ...this is incompatible with sql_mode=only_full_group_by
- 解决mysql的配置ONLY_FULL_GROUP_BY引起的错误
- 解决mac环境下mysql出现only_full_group_by的错误
- 解决mac环境下mysql出现only_full_group_by的错误
- linux mysql5.7报err 1055错误 sql_mode=only_full_group_by
- [置顶] 【mysql 使用错误解决】this is incompatible with sql_mode=only_full_group_by
- MySQL报错:[Err] 1055 - only_full_group_by
- mysql 5.7版本 only_full_group_by 1055错误及 sql_mode 解析
- MySQL里面sql_mode=only_full_group_by解决办法
- 解决MySQL 5.7.9版本sql_mode=only_full_group_by问题,this is incompatible with sql_mode=only_full_group_by错误
- MySQL分组查询时出现错误SELECT list is not in GROUP BY ;this is incompatible with sql_mode=only_full_group_by
- mysql之ONLY_FULL_GROUP_BY问题解决办法
- mysql语法错误:this is incompatible with sql_mode=only_full_group_by
- 解决macOS下mysql的sql_mode=only_full_group_by问题
- 解决MySQL 5.7.9版本sql_mode=only_full_group_by问题
- mysql命令gruop by报错this is incompatible with sql_mode=only_full_group_by
- mysql命令gruop by报错this is incompatible with sql_mode=only_full_group_by
- mysql的ONLY_FULL_GROUP_BY语义 --转自http://www.wtoutiao.com/p/19dh3ec.html
- mysql版本问题sql_mode=only_full_group_by