WordPress.org

Ready to get started?Download WordPress

Forums

Error establishing a database connection (4 posts)

  1. CartOOnist ARiF
    Member
    Posted 1 year ago #

    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.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Many hosts are currently experiencing problems due to mass attacks. Yours may be one of them. Try contacting them.

  3. CartOOnist ARiF
    Member
    Posted 1 year ago #

    Thank you WPyogi
    I use bluehost.
    It happening after every few minutes.

  4. railpnrstatus
    Member
    Posted 1 year ago #

    I found this two articles on web having solutions if you are getting same error on both wp-config.php & wp-admin page.

    http://www.webburr.com/wordpress/error-establishing-database-connection-wordpress/748

    http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-error-establishing-a-database-connection-in-wordpress/

    Hope this will solve your problem.

Topic Closed

This topic has been closed to new replies.

About this Topic