Attempting to import DB but failing

I installed WAMP, and downloaded an existing database, which seemed to work okay but on opening my php page, I get informed the password doesn’t work, refer to line 3 in the php.
Not sure which password it’s referring to (I’m obviously new to this) I copied everything from my website into the WAMP WWW folder, then exported the DB & imported it within PHPmyAdmin.
Thinking it would be easier to work on content within a WAMP environment but seemingly not so… What am I doing wrong?



Does the user that you’re using for the PHP app to access it’s database have permission to access the database?