• Resolved mikesouthern55

    (@mikesouthern55)


    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?

Viewing 2 replies - 31 through 32 (of 32 total)
  • I’m geeting *Error establishing a database connection* message at my site.
    And getting same kind of message at Wp-admin pages at my site.

    Error establishing a database connection
    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    It happening every few minutes.
    How can I fix it??
    Please need help.

    @CartOOnist ARiF – if you need help, please start your own thread per – https://codex.www.ads-software.com/Forum_Welcome#Where_To_Post . You can do that here:

    https://www.ads-software.com/support/forum/how-to-and-troubleshooting

    This thread is already marked resolved and it’s unlikely that your issue is actually the same.

    @danallenhouston – if you have a specific problem in a thread of yours you can tag it with modlook. Aside from that, you can always post a thread in the miscellaneous forum, but I can tell you from experience that general complaints about moderators don’t usually get very far :).

Viewing 2 replies - 31 through 32 (of 32 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.