In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article shows you how to set the maximum number of connections in mysql. The content is concise and easy to understand. It will definitely make your eyes shine. I hope you can gain something through the detailed introduction of this article.
Method 1: Command line modification
We only need to open the mysql console and enter the "set GLOBAL max_connections=1000;" statement to directly set the maximum number of connections, as shown in the following figure:
Note: This method is not a permanent cure, only temporarily modify the maximum number of connections, a little restart mysql, the maximum number of connections will change back to the original value.
Method 2: Modify the maximum number of connections through the mysql configuration file
1. Open the mysql installation directory on your computer and find the my.ini file, as shown in the following figure:
2. Open my.ini file with Notepad, find and modify the value of "max_connections", the default maximum number of connections is 100, as shown in the following figure:
Set "max_connections=1000" to set mysql's maximum number of connections to 1000.
3. After setting the maximum number of connections, you need to restart the mysql service.
In [Computer]-->[Management]-->[Services and Applications]-->[Services]-->[MySQL]
Click mysql, right click can start or close, as shown in the following figure:
The above content is how to set the maximum number of connections in mysql. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserves, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.