1. If your MySQL database is configured using the my. cnf file, find the file etcmy. cnf editor, and change max_connections to 10000. The maximum number of connections allowed by the actual MySQL server is 16384. Set-variablemax_connections100002, if your MySQL database uses the my. ini file configuration find the file binmy. in
1. If your MySQL database is configured using the my. cnf file, find the file/etc/my. cnf editor and change max_connections to 10000. The maximum number of connections allowed by the actual MySQL server is 16384. Set-variable = max_connections = 10000 2. If your MySQL database uses the my. ini file configuration, find the file/bin/my. in.
1. If your MySQL database uses the my. cnf file configuration
Find the/etc/my. cnf file.
Open the editor and modify the value of max_connections to 10000. The maximum number of connections allowed by the actual MySQL server is 16384.
Set-variable = max_connections = 10000
2. If your MySQL database uses the my. ini file configuration
Find the file/bin/my. ini (not necessarily here, based on your database)
Add in [mysqld]
Max_connections = 10000
If there is one, you can modify the value of max_connections.
3. Restart the mysql database.
In this way, the too connector connections (1040) error occurs in MySQL.