设置后OK了,mysql的链接数正常了,但是webserver还是无法连接mysql,访问页面提示
Host 'IP' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts' 查询后发现,是因为webserver连接mysql过多,别mysql给block了,呵呵,用它提示的命令改下吧
mysqladmin flush-hosts -h IP -uroot -p
OK,页面可以打开了~