Increase the number of MySQL connections correctly

Source: Internet
Author: User

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:

 
 
  1. Max_connections = 1000

Save and restart the MySQL (the best combination with PHP) service.

Run the following command:

 
 
  1. MySQL (best combination with PHP) admin-uroot-p variables

Enter the password of the root database account.

 
 
  1. | 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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.