I've solved them with this command: sevice mariadb restart. However, I found today that the databases which my customers created are not working. For example, I ran a fresh wordpress installation today and the database created by customers is not connecting to complete the installation.
Question
DavidCK
Hello,
I've been getting database connection errors on my websites for more than week. I got this error:
froxlor[3673]: SQLSTATE[HY000] [2002] Connection refused
froxlor[3673]: --- DEBUG: #0 /var/www/froxlor/lib/classes/database/class.Database.php(297): PDO->__construct('mysql:d
bname=st...', 'stuser', 'DB_UNPRIV_PWD...', Array) #1 /var/www/froxlor/lib/classes/database/class.Database.php(183): Database::getDB() #2 /var/www/froxlor/lib/cron_init.php(92): Database::__callStatic('query', Array) #3 /var/www/froxl or/scripts/froxlor_master_cronjob.php(20): include_once('/var/www/froxlo...') #4 {main}
I've solved them with this command: sevice mariadb restart. However, I found today that the databases which my customers created are not working. For example, I ran a fresh wordpress installation today and the database created by customers is not connecting to complete the installation.
Any guess?
I appreciate your help.
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.