Won't Establish Connection to Db

I have imported a site in local. I copied and pasted all the public html folder to public folder in local.
I imported the database. But I won’t establish a connection to the database. The db user and password are correct according to the wp-config file. What may be causing this issue ?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.