How to find the cause of "too many connections error"
For a while now I have been plagued by seemingly random 'too many connections' errors and it's driving me nuts!
I wanted the MySQL database error log but HostPapa refused to let me have it.
Without it I can't really see how any of my code is causing the errors. It was fine a month ago but just recently it has started causing the error from any user on any php page.
Just to ensure it is not my code, how best can I test each page to see if it's causing too many connections errors?
(Again though I don't think its the code because I have run the full site on a local WAMP server and cannot replicate the problem).