when i type localhost/phpmyadmin in browser instead of login page the page opens with the following errors. Why is this happening? :  #1045 - Access denied for user 'root'@'localhost' (using password: NO)

 mysqli_real_connect(): (HY000/1045): Access denied for user 'pma'@'localhost' (using password: NO)

 Connection for controluser as defined in your configuration failed.

 mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO)

 phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.