Question

Our server is down and need some assistance

I can not access our DirectAdmin account to view our files and I also attempt to connect via FTP. First was getting the Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request. and when I access the sites is states Database error connection. There are about 9 sites and only 2 are working. most of them are wordpress.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

The problem looks like your database server is not running and your web server is consequently unable to access it. Unfortunately, it is impossible to tell why your database server is not running without logging into your server.

You need to log into your server via SSH and find out why your database server is not running. If you are using an up to date version of Debian/Ubuntu/Fedora then the following command:

sudo systemctl status mysql.service

Will show you the current status. You may simply need to restart with the following:

sudo systemctl restart mysql.service

or the issue may be something else. In any case, these two commands should give you enough information to resolve the issue.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

mysql server actively running. Please give me more details