1 编辑/etc/my.cnf文件,增加一行max_connections=10000,默认为100 vim /etc/my.cnf 2 重启mysql服务 service mysql restart 相关文章: