Focus on cloud service provider activities
Notes on website operation and maintenance

Open "Error troubleshooting a database connection" on the website

Today, I met a netizen who mentioned that the website built on a cloud server selected during the mid year rush had an "Error establishing a database connection" failure. Then help him check and record it. When checking, I saw that the above mentioned problem occurred when his website was opened, which seems to be a database failure.

 Open "Error troubleshooting a database connection" on the website

This is usually the prompt when the database stops working. Go to the background to see if this is the case.

 Resolve Site Open

It can be seen that he cannot log in to the database, which should be like this. Because the database has been stopped.

 Resolve Site Open

As expected, the MYSQL database in his panel is stopped. How to solve this problem?

Here Lao Zuo sees that his server has 1GB of memory and is actually installed with MYSQL5.6, so I backup his database and then install 5.5 to import it. Generally, MYSQL5.6+is installed only when the memory is more than 2GB.

After all, the resources are still scattered after installing the panel, so it is recommended that he upgrade to 2GB of memory. There are three websites in his server. It is suggested that he put one in order to reduce the occupation of resources by the server.

The temporary problem is to solve, and we will see later.

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( one )
Do not reprint without permission: Lao Zuo's Notes » Open "Error troubleshooting a database connection" on the website


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge