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)
Copy code The code is as follows: <!--doctype ...
Introduction to jQuery The jQuery library can be ...
The first method: docker installation 1. Pull the...
First, there is only one change event. changeleve...
This article shares the installation and configur...
Knowledge points about Memory storage engine The ...
Preface Recently, I have been taking some time in...
Table of contents Preface Earlier iterations Iter...
This article example shares the specific code of ...
1. Setting case sensitivity of fields in the tabl...
By chance, I discovered that a SQL statement prod...
This article mainly introduces the relevant solut...
This article uses an example to describe the erro...
Table of contents BOM (Browser Object Model) 1. W...
Because of network isolation, MySQL cannot be ins...