Author Topic: getting errors when trying to "stop" the mysql service  (Read 225 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
getting errors when trying to "stop" the mysql service
« on: August 31, 2017, 05:41:40 PM »
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?

Code: [Select]
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)

Code: [Select]
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:
« Last Edit: August 31, 2017, 05:43:14 PM by jonathan1 »

Offline
**
Re: getting errors when trying to "stop" the mysql service
« Reply #1 on: August 31, 2017, 08:07:52 PM »
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 !!

Offline
*
Re: getting errors when trying to "stop" the mysql service
« Reply #2 on: August 31, 2017, 08:18:22 PM »
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

Offline
*
Re: getting errors when trying to "stop" the mysql service
« Reply #3 on: August 31, 2017, 08:32:47 PM »
Also, these passwords do match in both of those files.

Offline
*
Re: getting errors when trying to "stop" the mysql service
« Reply #4 on: September 04, 2017, 09:42:56 AM »
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/

Offline
*
Re: getting errors when trying to "stop" the mysql service
« Reply #5 on: September 04, 2017, 03:52:29 PM »
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