MySQL DB Error connecting on localhost [Resolved]
Now when I run install I get following error:
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.
When I use ssh I am able to login to DB using same credentials as wp-config. I checked everything and created new DB giving permissions but no luck
Help please…
4 Replies
What permissions are you granting to the database user?
wp-config "localhost" needs to be "Localhost" (capital L) that resolved the problem
define('DB_HOST', 'localhost');
It works fine.