MySQL seems to have Uninstalled

cmdrspock

Registered
May 30, 2015
2
8
3
Goes, Netherlands
cPanel Access Level
Root Administrator
Hi all,

I was checking over a server that's been having MySQL issues, and I've found this gem;

Code:
root@s2 [/usr/local/cpanel/logs]# service mysql start
/etc/init.d/mysql: line 301: cd: /usr/local/mysql: No such file or directory
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
When I change to /usr/local/mysql, I also can not find anything (it does not exist)

Any ideas on how I could fix this?

Best Wishes,
Jamie Yorkshire
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Hello,

MySQL data is stored in the following directory by default:

/var/lib/mysql/

What OS is installed on your server? Do you see output from "rpm -qa|grep MySQL"?

Thank you.