WordPress.org

Ready to get started?Download WordPress

Forums

getting DB access error (8 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    I keep getting the following error message:
    Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
    Are you sure you have the correct user/password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    I recreated the db a number of times. Do i have to change permissions on the folder?

  2. moshu
    Member
    Posted 9 years ago #

    Which folder? You have a problem with connecting to the DB, not with the folders...
    What do you have in your config file?

  3. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

  4. Anonymous
    Unregistered
    Posted 9 years ago #

    this is what is in my config file
    define('DB_NAME', 'azuremed_pressword'); // The name of the database
    define('DB_USER', 'xyz'); // Your MySQL username
    define('DB_PASSWORD', 'abc'); // ...and password
    define('DB_HOST', 'localhost');

  5. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Are you using CPanel ?

  6. Anonymous
    Unregistered
    Posted 9 years ago #

    yes, I am using cPanel. Is there something that I am missing?

  7. Have a read through the following link. You may have missed something, or done something incorrectly. http://www.tamba2.org.uk/wordpress/cpanel/

  8. Anonymous
    Unregistered
    Posted 9 years ago #

    Thanks, I was able to get it working. Not 5 minutes as advertised but it took only 5 minutes after figuring out the problem :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.