• Hi,
    I’m getting the following error, eventhough I’m sure that the dbname,username & password is correct. I’m using mysql v3.23.58, Apache/2.0.51 both on the same server running on Linux.

    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?

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • I ran into the same problem as you and I out that I input the db connection details in the wrong area. On the wp-config.php file, where it says “define(‘DB_NAME’, ‘wordpress’); ” I put my username where it says DB_NAME instead of where is says wordpress. I did that same thing with all of the fields and I got the same error message as you. Once I changed that, I installed it correcly. Hope this helps.

    I have the same problem, my site has gone bye-bye. All of the files are still there and the database is alright.It just seems that the .php files don’t execute. All I see, and probably my readers as well, is an error page.

    Please help!!

    I’m sorry, I’m no php expert and I just got this wordpress thing working so I doubt I’ll be of much help. Did you read my previous post before yours? That was how I solved my problem. Other than that I dunno. Did you double check all your db settings and make sure your host supports the minimun reqs for wordpress?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Database Connection Error’ is closed to new replies.