ERROR 1698 (28000): Access denied for user ‘root’@’localhost’ (using password: yes/No) MySQL

The error message you provided, “ERROR 1698 (28000): Access denied for user ‘root’@’localhost’ (using password: yes/No) MySQL,” occurs when attempting to connect to a MySQL database using the ‘root’ user account from the ‘localhost’ host, but the provided password is