美文网首页
[Err] 1055 - Expression #1 of OR

[Err] 1055 - Expression #1 of OR

作者: 后知后觉_5d11 | 来源:发表于2019-06-28 17:05 被阅读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

    解决:windows上运行cmd,然后输入

    mysql -uxxx -pxxxxx进入mysql,执行下mysql语句:

    set @@global.sql_mode='NO_AUTO_VALUE_ON_ZERO,STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';


    linux上进入MySQL,执行上述语句

    相关文章

      网友评论

          本文标题:[Err] 1055 - Expression #1 of OR

          本文链接:https://www.haomeiwen.com/subject/yleecctx.html