Support » Installing WordPress » getting DB access error

  • 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?

Viewing 7 replies - 1 through 7 (of 7 total)
  • moshu


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


    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’);

    Mark (podz)


    Support Maven

    Are you using CPanel ?


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

    Moderator James Huff


    Volunteer Moderator 🚀

    Have a read through the following link. You may have missed something, or done something incorrectly.


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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘getting DB access error’ is closed to new replies.