Did that ever happen to you in production?
PLAIN TEXT CODE:
- [percona@sandbox msb_5_0_87]$ ./use
- ERROR 1040 (00000): Too many connections
Just happened to one of our customers. Want to know what we did?
For demo purposes I'll use sandbox here (so the ./use is actually executing mysql cli). Oh and mind it is not a general-purpose best-practice, but rather a break-and-enter hack when the server is flooded. So, when this happens in production, the problem is - how do you quickly regain access to mysql server to see what are all …[Read more...]