Mysql
Mysql数据库
samfaker
这个作者很懒,什么都没留下…
展开
-
mysql 关闭已有的链接
1、使用SHOW PROCESSLIST查看所有连接;2、KILL要终止的进程的ID。原创 2021-02-06 14:45:18 · 2256 阅读 · 0 评论 -
mysql5.7+中sql_mode的ONLY_FULL_GROUP_BY限制
一、问题最近在mysql5.7中使用group by进行分组查询时,出现报错Caused by: org.b3log.latke.repository.RepositoryException: java.sql.SQLSyntaxErrorException: Expression #20 of SELECT xxxx is not in GROUP BY clause and contains nonaggregated column 'xxxx' which is not functional原创 2021-01-20 15:09:15 · 108 阅读 · 0 评论