Open lujunGit opened 6 years ago
ERROR druid.sql.Statement - {conn-10082, pstmt-23668} execute error. update t_user set TOTAL_INCOME=TOTAL_INCOME+? where id=? java.sql.SQLException: backend connect: ConnectionException [code=1040, msg=Too many connections]
设置mysql的最大连接数:
2.修改配置文件,在my.cnf或者my.ini中【mysqld】配置: max_connections=1000
ERROR druid.sql.Statement - {conn-10082, pstmt-23668} execute error. update t_user set TOTAL_INCOME=TOTAL_INCOME+? where id=? java.sql.SQLException: backend connect: ConnectionException [code=1040, msg=Too many connections]