Avoid being blocked in case of the error :TOO MANY CONNECTIONS

Last update on November 10, 2009 09:55 AM by jak58
Published by jak58

Avoid being blocked in case of the error :TOO MANY CONNECTIONS



Issue


MySQL normally allows, by default, 100 (150 since version 5.1) connections to the server ...
Meaning that the 101st user will receive the error message "too many connections" ...

Solution


If this happens to you, for whatever reason (too many web site, the code loop, ...), then:

Just know that 101th Mysql connection gives higher privilege level.. So, by logging (for example) as root, you should be able to access the server:
  • examine what happens (SHOW FULL PROCESSLIST)
  • remove connections (KILL)
  • in the worst case stop the server (SHUTDOWN)

Notes


As stated above, the 101th connection is reserved for SUPER users ... meaning that if the user set in PHP, for example, has himself thits own privilege level, all this will not work ... so better not set up a website with a extended user feature ...

If this happens, however, it only remains for you to destroy the main process (kill -9), it is best to make a check tables then ...
Best answers for « Avoid being blocked in case of the error :TOO MANY CONNECTIONS » in :
Error connection with iphone Show Error connection with iphone After installation of installation of updates on your iPhone in view to access new applications from the apple storem, Iphone refuse to login and and display error which unable to login. To troubleshoot...
Error Connection (80048820) Show Error Connection (80048820) Solutions Before any configuration on your system, it is recommended that you check the status of MSN Messenger servers to determine if the problem does not come from there:...
Error connection- 0x80072ee6 Show Error connection- 0x80072ee6 Below is a tips of a how to solve this problems. First of all, delete the cookies and clear the history and internet cache of Internet explorer. Then click on Start > Run and type the...
How to know who blocked/deleted you on MSN ShowHow to know who blocked/deleted you on MSN There are many websites that claim to be able to confirm if a contact on your list has blocked you or not. These so-called block checkers do this by detecting the public status of the user who...
PC Suite – Connect your phone to your PC ShowPC Suite – Connect your phone to your PC Installation Get Connected PC suite is a free software designed to sync and to manage your NOKIA, Sony Ericsson, LG and some other phones using your computer! PC suite is available for the...
Error 810003C1 ShowError 810003C1 How to proceed Error connection with Windows Live Messenger After failing to connect to Windows Live Messenger, Below error message appears on your screen : "The connection to Windows Live Messenger failed - The...
Download Steam ShowSteam is a download agent of on line games permitting to buy and to download them. Compared with the classical installation from a CD or DVD, this method has many advantages. In particular, it removes the problems of : - media (scratches, damaged...
Sharing an Internet connection ShowAdvantagesIf you have a LAN (two computers or more connected in a network), of which one is connected to the Internet (via a DSL modem, cable, etc.), it may be worthwhile to make the Internet accessible to the other computers on the LAN by installing...
Firewall ShowFirewall Each computer that is connected to the Internet (and, more generally, to any computer network) is likely to become a victim of a computer attack by a hacker. The methodology generally used by hackers consists in scanning the network (by...
PC Case ShowThe casing The case (or chassis) of a computer is the metallic box which houses the various internal components. Cases also have other uses, such as blocking noise produced by the computer, and protection from electromagnetic radiation. There are...