Just successfully downloaded WAMP server. Tried to open a php file in localhost. Got this error, what should I do:


Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\config.php on line 6
Call Stack
# Time Memory Function Location
1 0.1770 167728 {main}( ) ..\login.php:0
2 0.4430 173456 require_once( 'C:\wamp\www\config.php' ) ..\login.php:3
3 0.4670 174600 mysqli ( ) ..\config.php:6
Connect Error (1045)Access denied for user 'root'@'localhost' (using password: YES)