Error establishing a database connection
-
I get this message when I fill in all my MySQL database info, and I tried changing it directly in the wp-config-sample.php file but it didn’t make any difference.
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 %. 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.All I can think of is there’s something wrong at the MySQL host’s side of things, because I’m sure I’ve got all the info right, for example, the password. But I wanted to check here and tap into the wisdom of the more experienced, just in case, because I am new and don’t have any wordpress experience at all!
One question I do have is: in the Database Name field when setting up (wp-admin/setup-config.php?step=1), should I have .db on the end or not?
Lotte
The topic ‘Error establishing a database connection’ is closed to new replies.