config.php mein DB_HOST, DB_NAME, DB_USER, DB_PASS check karo.
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)