Database Connection Failed!

Error Message: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

Please ensure MySQL is running in XAMPP and the database dairy_db exists in phpMyAdmin.