zoukankan      html  css  js  c++  java
  • MySQL- [Err] 1055

    新建的mysql,在查询时报异常信息,虽然有正常执行结果。

    [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

    在 /etc/my.cnf 文件里加上如下:
    sql_mode='NO_ENGINE_SUBSTITUTION'
    然后,重启Mysql服务就可以解决了!

  • 相关阅读:
    数据库子查询
    数据库简介
    MySql数据类型
    Jquery与js简单对比
    JS-对象
    JS-DOM
    JS-数组
    JS-函数
    JS-json
    JS-类型相关
  • 原文地址:https://www.cnblogs.com/JinweiChang/p/11713423.html
Copyright © 2011-2022 走看看