Server Down!! Error Establishing Database Connection!

ammarain

New member
Joined
Nov 18, 2025
Messages
1
Event though cloud fare claimed already fix but all my websites in direct Admin server still can't be accessed and got error establishing database connection

It seem the mysql has corrupted.

I cannot log in to my websites (use WordPress)
 

Attachments

  • Screenshot_20251119_082051.jpg
    Screenshot_20251119_082051.jpg
    130 KB · Views: 13
  • Screenshot_20251119_082020.jpg
    Screenshot_20251119_082020.jpg
    204.7 KB · Views: 12
  • Screenshot_20251119_081929.jpg
    Screenshot_20251119_081929.jpg
    197.1 KB · Views: 13
  • Screenshot_20251119_081909.jpg
    Screenshot_20251119_081909.jpg
    44.1 KB · Views: 12
Hello,

If you run a server with DirectAdmin and some hosted sites can not open due to a failed connection to a SQL server, then you can either try and fix it by your own hands, or get someone to do for you. DirectAdmin support might help you in tickets for free, others (including me) might charge you a fee.

Whatever issues CloudFlare might have had, it has nothing to do with MySQL/MariaDB. Unless you did not reboot the server trying to fix an issue with an accessibility of your sites, which potentially could have caused a database corruption.

If a database server corrupted, then in certain cases it can be easily repaired, in other cases you will need to re-install the database server from a scratch and restore databases from existing dumps (I hope you have dumps and backups of databases). Both subjects were already discussed on these forums many times. You might use Google (for example) to search and find existing threads:

- https://www.google.com/search?q=mysql+crashed+site:forum.directadmin.com

Related docs:

- https://docs.directadmin.com/other-...mysql/general.html#how-to-repair-mysql-tables

I cannot log in to my websites (use WordPress)
 
Back
Top