( Solved )AppServ cannot log in to phpMyAdmin mysqli_real_connect(): (HY000/1045): Access denied for user ‘root’@’localhost’ (using password: YES)

AppServ provides us phpMyAdmin to manage MySQL databases on our Windows computer. Root is the default database to log into MySQL server. You can use root and its password to login from phpMyAdmin web interface. If you can’t login phpMyAdmin, or the access was denied by your database server and throws an error like, mysqli_real_connect(): […]