mysql column which is not functionally dependent GROUP BY clause
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相关推荐
- 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 ...
- 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 ...
- [MySQL]SELECT list is not in GROUP BY clause and contains nonaggregated column...
项目在windows上运行正常,迁移到Linux系统上就出现了这个错,经查是由于本人sql不规范且恰好mysql的sql_mode启用了only_full_group_by,当sql语句中使用了分组查 ...
- 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 ...
- 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 ...
- 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 ...
- 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 ...
- 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以上的版本中 ...
- uwp连接mysql数据库_mysql 8.0 新版本出现group by 语句不兼容问题
mysql 新版本出现group by 语句不兼容问题 1. 具体出错提示: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP ...
最新文章
- SpannableString 设置一段文字中部分字体颜色
- 常见的端口扫描类型及原理
- vSphere资源:下载及文档地址
- jwt:token的解析
- l2正则化python_机器学习入门之机器学习之路: python线性回归 过拟合 L1与L2正则化...
- git 初步使用01
- php获取pc访问还是手机号_PHP函数判断电脑端浏览器访问访问还是手机端浏览器访问...
- 图解操作系统系列-概述
- 发送的消息无法订阅_微信服务号和订阅号的如何选择
- 第12章第1讲位运算符与表达式
- 构造器模式(Builder模式)
- 科技感人工智能PPT模板推荐
- 两步完成druid数据库连接池的密文配置
- Excise_Thread1
- Math.cbrt() Math.sqrt() Math.pow()
- 阿拉伯数字转化为中文大写
- 行人跟踪之身份识别(三)
- 面试官:递归是个什么东东?
- 三极管 vs MOS管 | PMOS与NMOS
- Python实现2048小游戏
热门文章
- [USACO09HOL]假期绘画Holiday Painting
- 汇编:汇编语言实现冒泡排序(loop指令实现)
- Django day 36 支付宝支付,微信推送
- 使用Json封装scroll,已处理其兼容性问题
- 基于virtualbox安装ubuntu18.04
- LinkedList 源码小解
- ORB-SLAM2初步(跟踪模块)
- [原]正则表达式模式匹配入门
- 开源文档管理系统LogicalDOC测试报告---安装篇
- Potted Flower(线段树+dp)