Too Many Connections During the Sysbench Test
Symptom
MySQL is installed on the Kunpeng server. When sysbench 1.0.5 is used to perform a test, the following information is displayed indicating that there are too many connections:
FATAL: error 1040: Too many connections

Key Process and Cause Analysis
The number of database connections exceeds the configured maximum number of connections.
Conclusion and Solution
- Increase the maximum number of database connections. Run the following statement in the database:
set global max_connections = 3600;
- Perform the sysbench test again.
Parent topic: MySQL