遇一山,过一山,处处有风景;只要勇敢向前,一路尽是繁花盛开。 | (点击查看→)【测试干货】python/java自动化、持续集成、性能、测开、简历、笔试面试等

navicat:[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and ...

mysql5.7,xshell下执行sql不会报下面的错,但是navicat会报错,可能是navicat版本问题,换其他客户端不会出现问题。

[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

 

可以临时解决:

show variables like "sql_model";
set sql_mode='';
set sql_mode='no_engine_substitution,strict_trans_tables';

 

navicat论坛:

 

posted @ 2021-05-23 22:18  全栈测试笔记  阅读(384)  评论(0编辑  收藏  举报
浏览器标题切换
浏览器标题切换end