getting errors when trying to "stop" the mysql service

Started by jonathan1, August 31, 2017, 05:41:40 PM

Previous topic - Next topic

jonathan1

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:

24x7servermanagement

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. :)
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

jonathan1

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

jonathan1

Also, these passwords do match in both of those files.

studio4host

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.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

jonathan1

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