Database Connection Failed - First Steps to Diagnose

Last Updated: May 17, 2026 8 Views

A "Database Connection Failed" or "500 Internal Server Error" usually indicates that your application cannot communicate with its MySQL database. Before logging an Urgent support ticket, please verify the following common issues:

1. Check Your Database Credentials
If you recently migrated servers or changed passwords, your application configuration may be outdated. Open your core config.php file and verify that the DB_HOST, DB_USER, DB_PASS, and DB_NAME perfectly match your current database environment.

2. Verify the MySQL Service is Running
If you manage your own VPS or Local AMPPS environment, verify that the MySQL/MariaDB service has not crashed. Restart the database service from your control panel.

3. Check User Privileges
Ensure that the database user assigned to your application has been granted full privileges (SELECT, INSERT, UPDATE, DELETE) to the specific application database.

If you have verified these three steps and are still experiencing a connection failure, please log a support ticket and include any recent changes made to your server environment.

Found this helpful?

( 0 out of 0 found helpful )

Didn't find what you were looking for?

Our support team is available to assist you with any issues.

Submit a Support Ticket
App Icon

Install Support Desk

Install the app for quick access.