Increase in database connection over the past few months
-
Hello,
I hope someone has an idea what is going on with WordPress on newer platforms. I have several sites that have been running fine, some for more than 10 years. However, with recent upgrades of the server and newer versions of PHP, the sites run for a few days and then fall over with ‘Error establishing a database connection’. The only solution is to restart the database and the apache2 server.
This seems to have started a few months ago after upgrades, or whenever I set up a new site.
I have checked all the explanations for why ‘Error establishing a database connection’ occurs and it is not any of those. I believe (been writing PHP since Rasmus Lerdorf made the first release in the 90s) that there is something wrong with the database connector in newer versions of PHP that makes it fall over after some time. I cannot think of anything else that would make all sites behave the same irrespective of what WordPress plugins they are using (dkeats.com and kengalearn.com have no overlap in plugins but both behave the same way).
Has anyone else noticed this increase in database connection errors? Does the community have any ideas of a work-around?
Thanks
DerekThe page I need help with: [log in to see the link]
- The topic ‘Increase in database connection over the past few months’ is closed to new replies.