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

Solve the problem of "Could not open database connection" in Kloxo

When we are using or running Kloxo During the panel, an error message like "Could not open database connection" may appear. For novice friends, you must install panel management VPS to make things easier. If such a problem arises again, it is bound to make us even less aware of how to deal with it. If it is a host product, we can also find the host vendor or the host panel, but VPS is an independent product, and we need to solve all problems ourselves.

The solution is as follows:

Log in to our VPS with SSH, and then enter the following two lines of commands

 php /usr/local/lxlabs/kloxo/bin/common/misc/reset-mysql-root-password.phps sh /script/fix-program-mysql

Then we will be prompted to reset the password of phpmyadmin, and then we will log in and change it to the corresponding password.

If an error prompt such as "could_not_add_mail [Error noauthenticationdatabaseconnection. Initializopen.]" appears when adding a domain name on the kloxo panel, the solution is as follows:

Same login SSH input

 cd /script/ ./fixvpop ./restart
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( zero )
Do not reprint without permission: Lao Zuo's Notes » Solve the problem of "Could not open database connection" in Kloxo


Scan the code to follow the official account

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