mysql 连接数用完,root也无法登陆的处理方法 gdb -p $(pidof mysqld) -ex "set max_connections=1500" -batch 使用 gdb 临时调大 参数 max_connections 。