I am trying to install WP on my local PC and have inserted all values (user,pass, DB name, localhost) in wp-config.php but while installation following errors are occuring
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 DB_HOST. 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?
My database is running but i dont know why it is happning please advice.