SET GLOBAL
Log in to the MySQL/MariaDB command line client with the command:
mysql -u root -p
Set the new max_connections value with the command:
SET GLOBAL max_connections=[desired new maximum number];
For example, to set max_connections to 200, the command is:
SET GLOBAL max_connections=200;
Exit MySQL/MariaDB with the command:
quit;
Log in to the MySQL/MariaDB command line client with the command:
mysql -u root -p
Set the new max_connections value with the command:
SET GLOBAL max_connections=[desired new maximum number];
For example, to set max_connections to 200, the command is:
SET GLOBAL max_connections=200;
Exit MySQL/MariaDB with the command:
quit;
Комментариев нет :
Отправить комментарий