php – Error establishing a database connection (Set-up locally)
this is my first time working on again with WordPress and accessing site locally. The WordPress site is on the github and I tried to pull the codes from there and accessing site already to my local machine but when I tried to access the site locally it always saying “Error establishing a database connection” I already check DB_NAME, DB_USER and DB_PASSWORD inside wp-config.php and already create a database inside phpMyadmin locally and import the DB from github but still the problem is there. Is there any wrong to my configurations or steps that I am doing? Thanks in advanced for the help.