WordPress.org

Ready to get started?Download WordPress

Forums

Error establishing a database connection (5 posts)

  1. travisemergency
    Member
    Posted 9 years ago #

    I set up my MySQL database in cPanel and modified the wp-config.php file, and then uploaded the files, but when I try to access /wp-admin/install.php, I get this error:

    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.

  2. amory
    Member
    Posted 9 years ago #

    are you sure your info is correct? what host/server are you using (specs)? It's possible that the server's mysql is temporarily down.

  3. That means that one of the values you entered into wp-config.php is incorrect. Try following this installation guide: http://www.tamba2.org.uk/wordpress/cpanel/

  4. GoodHealthToYou
    Member
    Posted 9 years ago #

    Thank you so much macmanx! :)

    Your resource was a blessing.

    Allan

  5. GoodHealthToYou
    Member
    Posted 9 years ago #

    Thanks guys and gals!

    You all are very supportive.
    An hour ago I didn't know anything about setting up a php file,
    now I'm more confident.
    Thanks to you all here at WordPress forum
    I was going to hire someone to install it for me. :)
    I love it!

    This support forum is the bomb! :)

    Allan Angkham

Topic Closed

This topic has been closed to new replies.

About this Topic