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 only a temporary solution and can only temporarily modify the maximum number of connections. If you restart MySQL, the maximum number of connections will return to the original setting. Method 2: Modify the maximum number of connections through the MySQL configuration file 1. Open the MySQL installation directory on the computer and find the my.ini file, as shown in the following figure: 2. Open the 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 the maximum number of MySQL 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 and right-click to start or shut down, as shown in the following figure: This sets the maximum number of MySQL connections to 1000, and it is a permanent setting. You may also be interested in:
|
<<: How to prevent hyperlink redirection using JavaScript (multiple ways of writing)
MySQL InnoDB monitoring (system layer, database l...
1. New Features MySQL 5.7 is an exciting mileston...
This article uses examples to describe MySQL tran...
Following are the quick commands to clear disk sp...
This article uses examples to explain the princip...
Introduction During the work process, slow querie...
question The tomcat container was successfully ad...
Table of contents First method App.vue Home.vue H...
Sometimes we may encounter such a requirement, th...
The main contents of this article are as follows:...
There are two tables, and the records in table A ...
Rendering If you want to achieve the effect shown...
The following analysis is about product design pr...
Preface: The previous article described several c...
REPLACE Syntax REPLACE(String,from_str,to_str) Th...