Error: Too many connections on Zabbix

When you have many connections sql, you may have already received the error message “Error: Too many connections“, on your server Zabbix or Proxy.

Why ?


Because, this error means that the limit of simultaneous MySQL connection to mysql server is reached and new connections to the server cannot be established at this time.

Solution


First, connect in your database

type the command (max_connections by default is “151” or “100“)

This will return you something

For increase “max_connections’, type the command

For permanent change, modify /etc/my.cnf or /etc/mysql/mysql.conf.d/mysqld.cnf

Let’s Go !

Leave a reply:

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Site Footer