php – Error establishing a database connection (Set-up locally)

Question

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.

enter image description here

0
santiagoelie 2 months 2021-09-21T18:41:31-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse