This issue is likely because your XAMPP MySQL and Apache services are not running. These services must be active for your database to connect properly. If your database isn't connected, you'll see an error in your server console.To resolve this, make sure to start both MySQL and Apache in XAMPP, then restart your server.

Was this answer helpful? 0 Users Found This Useful (0 Votes)