Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp1\htdocs\xampp\Iup\forgot.php on line 6

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in C:\xampp1\htdocs\xampp\Iup\forgot.php on line 7
Could not connect:Access denied for user 'root'@'localhost' (using password: NO)