Database connection failed

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

Open config/config.php and check DB_HOST, DB_NAME, DB_USER, DB_PASS.
Also make sure you imported database.sql in phpMyAdmin.