mysql 异常处理
No Pain No Gain乄
这个作者很懒,什么都没留下…
展开
-
java.sql.SQLNonTransientConnectionException:message from server: “Too many connections“
进入MySQL,输入命令:show variables like ‘max_connections’;set global max_connections=1000;原创 2020-09-02 15:40:04 · 1602 阅读 · 0 评论 -
java.sql.SQLSyntaxErrorException:在Linux系统部署项目,gruop by 分组映射问题
在本地项目没有报错,部署在Linux上就映射不到列了,下面是错误异常信息:java.sql.SQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘car_demo.car_order.order_id’ which is not functionally dependent on columns in GROUP BY clause原创 2020-07-08 17:37:59 · 194 阅读 · 0 评论