Hi guys I am new to wordpress. Today I have tried to install a blog in subdirectory at my server. I have got following error message:-
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?
Anyone please help me how to solve this issue. I have given ('DB_HOST', 'localhost') in wp-config.php. And I know the username and password is correct.