It is a common scenario that we often forget out database password. When we try to log in to our mysql DB, we face the following error message. If we use a password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
If we don't use a password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)