Check DB_HOST, DB_NAME, DB_USER and DB_PASS at the top of inc.php.
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)