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

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