当前位置: 代码迷 >> 综合 >> 问题:[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregate
  详细解决方案

问题:[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregate

热度:46   发布时间:2023-12-18 20:44:34.0

问题:[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

解决方案:

dos root登录mysql

命令行敲入

SET sql_mode='NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES';

 

 

 

  相关解决方案