Error establishing a database connection
-
When www.ads-software.com blame the host, and the hosts blame wordpress; that doesn’t help.
I have the error frequently, on multiple sites and with multiple hosts: Fatcow, Bluehost, Godaddy. Some use a local DB server, some use a remote DB server. A variety of host names are in effect.
The only consistent factor is that the data in my wp-configs NEVER changes. Never. Not by me, not by anybody.
If it’s a server issue, obviously the answer does not lie here. It is surprising that so many servers have so many issues. But I have run MySql servers for years and outside of WordPress, and outside of the DB server actually being down, I’ve not seen this error. Yet at the time the error is received the database is not down. Never. I can administer the DB, back it up, hit it through a non-WP script, at the same time as receiving the wordpress error message.
The only common factor is wordpress itself, and I’d say that with so many thousands of people experiencing the same problem all over the place, isn’t this a big problem?
Questions:
* Is there a cache in effect when wordpress accesses wp-config? i.e. are the connection config data cached and if so could that cache fail?* There are many third party caches available. Do any of these impact the connection process?
* Is database size an issue? Does the problem increase with size?
- The topic ‘Error establishing a database connection’ is closed to new replies.