
复制mysql> show variables like%max_connection%;             | Variable_name   | Value |             max_connections | 151   |              mysql> setglobal max_connections=1;Query OK,十宗罪
 0 rows affected (0.00 sec)             [root@node4 ~]# mysql -uzs -p123456 -h 192.168.56.132             ERROR 1040 (00000): Too many connections              1.2.3.4.5.6.7.8.9.10.11.      
作者:应用开发