Database troubleshooting
| Error | Common cause |
|---|---|
Access denied for user | Wrong full username, password or missing allowed remote host |
Unknown database | Missing account prefix or database does not exist |
Connection refused / timeout | Wrong host, port, firewall or unavailable service |
Too many connections | Leaked connections, expensive job or overload |
| Collation or character error | Version, encoding or collation mismatch during import |
Quick checks
- Copy the complete database and username directly from DirectAdmin.
- Use
localhostfor a website on the same hosting account. - Verify that the user is assigned to the correct database.
- For a remote connection, verify the allowed source IP.
- Test the same credentials in phpMyAdmin or set a new password and update the application.
- Check the application error log without exposing the password.
Problem after an import or update
Confirm that the import completed, the application supports the destination database version and its files match the database schema. Do not repeatedly import into a live database without a backup.
What to send support
Include the domain, full database name, error time, exact message and whether the connection is local or remote. Replace the password with ***.