Control Web Panel
WebPanel => MySQL => Topic started by: jaisal on August 25, 2020, 04:18:46 PM
-
Hi,
I am getting Database connection failed error on my sites hosted on CWP frequently. When i login to CWP, Mysql restarts automatically and everything back to normal
I am getting below error while login to CWP
Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv
and below error after logged in
"MySQL bad configuration detected, check from the console by using mysql command !!!"
How can i fix the issue ?
Thanks
-
Hi, first of all, you must check the config from the console by using mysql command.
Second, you must check the MariaDB log file (the path depends your configuration)