The following articles mainly describe the correct operation steps for correctly increasing the number of MySQL connections, as well as the detailed instructions worth your attention in the actual operation steps for correctly increasing the number of MySQL connections. The following is a detailed description of the article.
My. cnf or my. ini
In the [MySQL (best combination with PHP) d] configuration section, add:
- Max_connections = 1000
Save and restart the MySQL (the best combination with PHP) service.
Run the following command:
- MySQL (best combination with PHP) admin-uroot-p variables
Enter the password of the root database account.
- | Max_connections | 1000 |
That is, the new change has taken effect.
The above content is an introduction to increasing the number of MySQL connections. I hope you will have some gains.
The above content describes how to increase the number of MySQL connections, hoping to help you in this regard.