show variables like '%connect%';linux
set global max_user_connections=1100;spa
同时还要设置linux系统的用户链接数:ci
ulimit -SHn 102400it
ulimit -u 102400io