方向不对,努力白费,经验类测试技术才是职场重要保险! | (点击→)【提醒】AI赋能的前提是对常规测试技术非常的熟悉,联系作者vx了解

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  全栈测试笔记  阅读(447)  评论(0)    收藏  举报
浏览器标题切换
浏览器标题切换end