I'm getting the following errors each time I try to "stop" the mysql service.
Can someone help me figure out why this happens and resolve it?
Warning: Error while sending QUERY packet. PID=5284 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
Warning: [obfuscated]() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
Top 5 Process [live monitor]
Could not select database root_cwp Could not select database root_cwp Could not select database root_cwp
Oh also, then when I go to the dashboard homepage, I get this error (upon second refresh, it loads fine)
Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:
Did you recently changed MySQL root password?
If yes then check if its present in these file or not /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
Let me know if you are still facing the same issue. :)
Nope, I've never changed it. I've never actually used mysql, I installed postgres and have been using that since the start.
I want to disable mysql for the time being since I'm not using it.
How can I resolve the issue if I've never used mysql?
Thank you for your help
Also, these passwords do match in both of those files.
you can't stop mysql since cwp is using it and mail server also.
You can stop mysql only if you will not use cwp and emails on that server.
oh, had no idea.
Would be great to add more of a warning and usage disclaimer to let people know what apps require it to be running.
thanks