当前位置:网站首页>Mysql5.7 group by error
Mysql5.7 group by error
2022-07-03 06:12:00 【Undefined-wechat】
mysql5.7 group by Report errors
Running environment
macOS
mysql edition
5.7.23
Wrong content
ERROR 1055 (42000): Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'db_name.tb_name.field' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
resolvent
my.cnf (windows by my.ini) In file ,[mysql] and [mysqld] Add below sql_mode = 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
边栏推荐
- In depth analysis of kubernetes controller runtime
- Pytorch dataloader implements minibatch (incomplete)
- [teacher Zhao Yuqiang] use Oracle's tracking file
- Phpstudy setting items can be accessed by other computers on the LAN
- 輕松上手Fluentd,結合 Rainbond 插件市場,日志收集更快捷
- MySQL带二进制的库表导出导入
- Cesium 点击获取模型表面经纬度高程坐标(三维坐标)
- Leetcode problem solving summary, constantly updating!
- Project summary --04
- Kubesphere - build Nacos cluster
猜你喜欢

ruoyi接口权限校验

Kubesphere - set up redis cluster

Bio, NiO, AIO details

phpstudy设置项目可以由局域网的其他电脑可以访问

项目总结--04

Jedis source code analysis (II): jediscluster module source code analysis

Svn branch management
![[system design] proximity service](/img/4a/2e68536cbe385af1d1a591e674fbf0.png)
[system design] proximity service

Support vector machine for machine learning

Kubernetes notes (III) controller
随机推荐
phpstudy设置项目可以由局域网的其他电脑可以访问
Project summary --04
Solve the 1251 client does not support authentication protocol error of Navicat for MySQL connection MySQL 8.0.11
Une exploration intéressante de l'interaction souris - pointeur
Cesium entity(entities) 实体删除方法
Jedis source code analysis (I): jedis introduction, jedis module source code analysis
Openresty best practices
Cesium Click to obtain the longitude and latitude elevation coordinates (3D coordinates) of the model surface
Skywalking8.7 source code analysis (I): agent startup process, agent configuration loading process, custom class loader agentclassloader, plug-in definition system, plug-in loading
Analysis of Clickhouse mergetree principle
There is no one of the necessary magic skills PXE for old drivers to install!!!
Simple understanding of ThreadLocal
从小数据量 MySQL 迁移数据到 TiDB
GPS坐标转百度地图坐标的方法
[teacher Zhao Yuqiang] Alibaba cloud big data ACP certified Alibaba big data product system
pytorch 搭建神经网络最简版
Zhiniu stock project -- 05
多线程与高并发(7)——从ReentrantLock到AQS源码(两万字大章,一篇理解AQS)
Kubesphere - Multi tenant management
[system design] proximity service