Database Connection Failed: SQLSTATE[HY000] [2002] No such file or directory

Check XAMPP MySQL is running, your database exists, and DB_NAME matches the exact imported database name.