Linux下使用mysql5.7出现这个错误:mysql column which is not functionally dependent GROUP BY clause

解决办法:

1、首先查询

show variables like "sql_mode";

2、复制sql-mode的Value,添加到 /ect/my.cnf配置文件中的[mysqld]下.

3、然后重启数据库

 systemctl restart mysqld.service

mysql column which is not functionally dependent GROUP BY clause相关推荐

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

  2. Mysql出现which is not functionally dependent on columns in GROUP BY clause的解决办法

    1.修改my.ini(windows)或者my.cnf(centos) 在[mysqld]下加入 sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZER ...

  3. [MySQL]SELECT list is not in GROUP BY clause and contains nonaggregated column...

    项目在windows上运行正常,迁移到Linux系统上就出现了这个错,经查是由于本人sql不规范且恰好mysql的sql_mode启用了only_full_group_by,当sql语句中使用了分组查 ...

  4. mysql 报错解决思考Expression #5 of SELECT list is not in GROUP BY clause and contains nonaggregated column

    mysql报错: [Err] 1055 - Expression #5 of SELECT list is not in GROUP BY clause and contains nonaggrega ...

  5. MySQL Expression 2 of SELECT list is not in GROUP BY clause and contains nonaggregated column yous

    MySQL:Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'yous ...

  6. which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mod

    which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mod ...

  7. mysql使用group by查询报错SELECT list is not in GROUP BY clause and contains nonaggregated column.

    mysql使用group by查询报错SELECT list is not in GROUP BY clause and contains nonaggregated column. 出现原因 使用g ...

  8. MySQL报错 SELECT list is not in GROUP BY clause and contains nonaggregated column...

    MySQL报错 SELECT list is not in GROUP BY clause and contains nonaggregated column- 原因: 在mysql5.7以上的版本中 ...

  9. uwp连接mysql数据库_mysql 8.0 新版本出现group by 语句不兼容问题

    mysql 新版本出现group by 语句不兼容问题 1. 具体出错提示: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP ...

最新文章

  1. SpannableString 设置一段文字中部分字体颜色
  2. 常见的端口扫描类型及原理
  3. vSphere资源:下载及文档地址
  4. jwt:token的解析
  5. l2正则化python_机器学习入门之机器学习之路: python线性回归 过拟合 L1与L2正则化...
  6. git 初步使用01
  7. php获取pc访问还是手机号_PHP函数判断电脑端浏览器访问访问还是手机端浏览器访问...
  8. 图解操作系统系列-概述
  9. 发送的消息无法订阅_微信服务号和订阅号的如何选择
  10. 第12章第1讲位运算符与表达式
  11. 构造器模式(Builder模式)
  12. 科技感人工智能PPT模板推荐
  13. 两步完成druid数据库连接池的密文配置
  14. Excise_Thread1
  15. Math.cbrt() Math.sqrt() Math.pow()
  16. 阿拉伯数字转化为中文大写
  17. 行人跟踪之身份识别(三)
  18. 面试官:递归是个什么东东?
  19. 三极管 vs MOS管 | PMOS与NMOS
  20. Python实现2048小游戏

热门文章

  1. [USACO09HOL]假期绘画Holiday Painting
  2. 汇编:汇编语言实现冒泡排序(loop指令实现)
  3. Django day 36 支付宝支付,微信推送
  4. 使用Json封装scroll,已处理其兼容性问题
  5. 基于virtualbox安装ubuntu18.04
  6. LinkedList 源码小解
  7. ORB-SLAM2初步(跟踪模块)
  8. [原]正则表达式模式匹配入门
  9. 开源文档管理系统LogicalDOC测试报告---安装篇
  10. Potted Flower(线段树+dp)