My DB is not connecting to my sites. I am able to navigate to the localhost and when I try to login it gives these errors. I have the code into the www. folder. The db was imported into the mysql/data folder, and I have changed the PW for the mysql login to match what is in our code. Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'root'@'localhost' (using password: YES) in C:\Program Files (x86)\Ampps\www\dashboard\index.php on line 47
Warning: mysqli::real_escape_string() [mysqli.real-escape-string]: Couldn't fetch mysqli in C:\Program Files (x86)\Ampps\www\dashboard\index.php on line 54
Warning: mysqli::real_escape_string() [mysqli.real-escape-string]: Couldn't fetch mysqli in C:\Program Files (x86)\Ampps\www\dashboard\index.php on line 55
Warning: mysqli::close() [mysqli.close]: Couldn't fetch mysqli in C:\Program Files (x86)\Ampps\www\dashboard\index.php on line 86 I wasn't with the company when the code was written. Please help.