mysql

too many mysql connections

On the mysql command line:

The following two commans are useful to determine current connections:

  •   SHOW STATUS WHERE `variable_name` = 'Threads_connected';
  •   SHOW PROCESSLIST;

Centos prompt

You may update the mysql configuration which is located under /etc/my.cnf.

Two variables you may like to review are: