[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 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配置文件的[mysqld] 下添加:
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
然后在MySQL的bin目录下输入service mysqld restart重启MySQL即可。
[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated解决相关推荐
- [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 ...
- [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 ...
- 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 ...
- [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 ...
- 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 ...
- mysql--navicat--运行SQL时提示出错信息-1055 - Expression #1 of ORDER BY clause is not in GROUP BYt
出错提示 [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggrega ...
- mysql Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nona
1. 操作mysql的时候提示如下错误 [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and cont ...
- 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 ...
- 执行sql语句提示[Err] 1055 - Expression #2 of SELECT list is not in GROUP BY......错误的解决办法
当我在navicat中执行sql语句时,出现错误提示[Err] 1055 - Expression #2 of SELECT list is not in GROUP BY clause and co ...
最新文章
- 比尔盖茨NEJM发文:新冠肺炎是百年一遇的流行病!全世界应该如何应对?
- 一文告诉你,Intellij IDEA神器隐藏的11种实用小技巧!
- epoll的总结 LT和ET使用EPOLLONESHOT
- 【Java ORM】手写ORM框架:源代码、jar、生成JavaDoc文档
- 经典面试题(33):以下代码将输出的结果是什么?
- 以CCF CSP认证为抓手,积极探索软件基础能力递进式培养体系
- mysql查询一个月未登录_mysql函数实例-统计1周内未登陆的用户
- 汇编指令与机器码的相互转换(来自80x86汇编小站)
- 网络排查工具MTR介绍
- ear的英语怎么念_ear的三种发音各有哪些英文单词
- mac下webrtc的编译-坑记录 非常重要
- 5v继电器模块实物接线_5v继电器的工作原理
- 分期付款“名义利率”和“实际利率”的公式及其套路
- 3269: 万水千山粽是情
- 【机器学习基础】理解为什么机器可以学习1——PAC学习模型
- Windows10怎么设置双屏?双屏显示设置有哪些?
- Days14 ContentProvider ContentResolver
- 在64位总线下,安装了8G内存条,却显示可用内存不到8G的原因
- linux下的磁盘常用工具
- 漏洞复现----12、Apache Flink目录穿越漏洞(CVE-2020-17519 )
热门文章
- 【C++中单引号‘ ‘的意义及作用】
- python爬取自如数据
- i5 10400 几核_618装机推荐,6000预算搞定 i5-10400配2060s显卡配置主机
- 用AI算法起中文名字 ---- 传统起名字方法(2):传统经典起名方法罗列(2)
- vo类,model类,dto类的作用及划分
- QT QImage使用方法(Qt学习1)
- CC00050.hadoop——|HadoopMapReduce.V23|——|Hadoop.v23|MR算法扩展|MergeSort归并排序|
- golang中出于性能考虑的那些实用代码片段 |字符串篇
- 数据处理--python
- c语言入门-内存管理函数