Database Connection Error

Unable to connect to the MySQL database server at localhost.

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

Make sure Apache and MySQL are running in your server (e.g., XAMPP Control Panel).