1. 操作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

此问题需要删除sql_mode中的only**字段

修改为

sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'

保存重启即可

转载于:https://www.cnblogs.com/youran-he/p/9559639.html

mysql Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nona相关推荐

  1. MySQL报错1055解决办法:[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains

    [mysql报错1055 报错解决办法][Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and cont ...

  2. mysql 5.7版本异常Expression #1 of ORDER BY clause is not in GROUP BY clause and contains 处理

    今天在做按时间分组统计数据时,一段sql在数据库运行正常,但是在java代码中抛出了异常: sql语句: SELECT DATE_FORMAT( commitTime, '%H' ) AS gjtim ...

  3. [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated

    mysql客户端查询报这个错误,如下所示: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and co ...

  4. [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated c

    [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated c ...

  5. 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contai

    文章目录 1. 现象 2. docker内部mysql容器 解决方案 3. windows和linux 解决方案 1. 现象 在使用sql语句创建表时,报错: 1055 - Expression #1 ...

  6. [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated解决

    今天在使用MySQL查询时报了一个"[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and c ...

  7. [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause 的问题 MySQL

    show variables like "sql_mode"; set sql_mode=''; set sql_mode='NO_ENGINE_SUBSTITUTION,STRI ...

  8. sql [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause

    解决当时 错误 show variables like "sql_mode";set sql_mode='';set sql_mode='NO_ENGINE_SUBSTITUTIO ...

  9. yum 安装mysql 后 which is not functionally dependent on columns in GROUP BY clause; this is incompatibl

    vim /etc/my.cnf i 咕噜到最下面 加 sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVIS ...

最新文章

  1. 目标和(01背包应用)
  2. purdue university some course and papers
  3. 高效地加载图片(一) 高效地加载大图
  4. 《OD大数据实战》MongoDB环境搭建
  5. 【贯穿】.NET6结合Docker傻瓜式实现容器编排
  6. (Tree)二叉树基本操作
  7. New directions in automated traffic analysis论文解读
  8. fastdfs java token_fastdfs 开启 token 防盗链
  9. process_进程池
  10. 打印机之——Mac电脑添加打印机
  11. Samba 服务详解
  12. init: wait for '/dev/block/bootdevice/by-name/cache' timed out and took 5007ms【学习笔记】
  13. 使用C++读取二进制文件(dat格式)
  14. 【翻译】 Unity3D VR 教程:4.VR中的用户界面
  15. 菜鸟、小白在autojs和冰狐智能辅助之间如何选择?
  16. 利用gitee仓库的流水线功能实现Java项目的自动化部署
  17. 纯javascript的HTML在线编辑器
  18. shader基础学习摘要(二) 兰伯特光照模型
  19. 众包,一个不成熟的类威客概念
  20. AutoCAD导出wmf文件,并转成wpf xaml

热门文章

  1. 如何跑通第一个 DataStream 作业?
  2. 智稳双全--AnalyticDB如何助力菜鸟运配双十一
  3. AI 中介上岗,人工智能版《安家》?
  4. JUST技术:空间连接运算与空间索引
  5. 如何使用ZBrush和3DMAX雕刻一个百夫长?
  6. 棱镜刘大澎:云时代的手游SDK接入
  7. MySQL中的pid与socket是什么?
  8. 六耳猕猴并不存在,真假猴王的六耳原来是他!
  9. begin again
  10. affiliate的使用方式