Resolving MySQL 'Too Many Connections' Error

MySQL Too Many Connections

Too Many Connections

We recommend taking a back up of your server beforehand.

Set the following:

You need to create 2 new DWORDS in the Registry.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Value Name: MaxUserPort
Data Type: REG_DWORD
Value: 65534

and

Value Name: TcpTimedWaitDelay
Data Type: REG_DWORD
Value: 30

Restart the server for this change to take effect