mysql 1203错误的解决方法
一、问题
mysql报1203错误,超出max_user_connections限制;
二、分析
服务器有长短连接混用。
max_connections和max_user_connections值同为2048;
show status like ‘%connect%’查看到当前连接数约1100;
三、解决方法
# 更改max_user_connections
set global max_user_connections=0;
# 查看max_user_connections是否生效
select @@max_user_connections;
# 查看当前服务器连接数
show status like ‘%connect%’;
# 修改my.cnf
max_user_connections = 0
三、参考资料
https://bugs.launchpad.net/percona-server/+bug/893348
http://dev.mysql.com/doc/refman/5.5/en/news-5-5-27.html
您可能感兴趣的文章:
mysql 1203错误的解决方法
PHP错误Deprecated: Assigning the return value of new
mysql启动错误报1067错误怎么解决
mysql 导入数据报2006错误的解决方法
mysql: unrecognized service错误的解决方法
无法启动mysql服务,进程意外终止,1067错误的解决方法
mysql服务无法启动报错误1067的解决方法
mysql提示MySQL server has gone away导入时报错2006错误
MySQL常见错误代码解析
安装MYSQL-PYTHON包报错mysql_config not found解决办法