One day on production server I encountered this error message, So I found out a solution for it as:
There are multiple reasons, listed below:
- You’ve run out of memory available to MySQL.This is the most likely
problem you’re facing. Each connection in MySQL’s connection pool
requires memory to function, and if this resource is exhausted,
no further connections can be made. Of course, the memory
footprints and maximum packet sizes of various operations can be
tuned in your equivalent to
my.cnfif you discover this to be an issue.
You can calculate MySQL memory using this tool – http://www.mysqlcalculator.com/
This shows maximum size a MySQL should use in your environment, in my case it’s a dedicated MYSQL …
[Read more]