Answers for "connection to database 'zabbix' failed: [1040] Too many connections"

SQL
0

SQLSTATE[HY000] [1040] Too many connections

On a shared hosting, "unlimited" means other users are unrestricted with their
resource using. Means they can eat up whole pool, while your consumption
remains modest

This is a limit of database's configuration. If you have permission to edit 
the configuration file of your database service, you can change max_connections
value.

You can try running this SQL query (take care about this value!)
	SET GLOBAL max_connections = 512;

and this to get current value of all variables:
	SHOW VARIABLES;
or (for specific variable):

SHOW GLOBAL VARIABLES LIKE '%max_connections%'
Posted by: Guest on September-30-2020

Code answers related to "connection to database 'zabbix' failed: [1040] Too many connections"

Code answers related to "SQL"

Browse Popular Code Answers by Language