paysite-cash

Active Member
Feb 3, 2005
25
0
151
Hello

we want to remove mysql from a server which will run only httpd.

it is a problem with cpanel ? cpbackup put an error message but it seems to work

on 1 server removing the service from cpanel desactivated well cpanel but on another it is still running... how to remove mysql to start ?
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
833
28
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
rpm -qa |grep -i mysql

then 'rpm-i' to remove all the mysql binaries. Then:

rm -rf /var/lib/mysql

touch /etc/mysqlupdisable
touch /etc/mysqldisable

(the above keeps cpanel from trying to reinstall it during updates)

And disable mysql from chkservd by going into WHM > service manager
 

paysite-cash

Active Member
Feb 3, 2005
25
0
151
thanks

it is not needed by cpanel for sure ? what about php/apache it don't need some libs which are included in mysql packages ?
 

MaestriaNick

Well-Known Member
Aug 6, 2008
159
3
68
as long as you do not want to use any mysql realted things via php / cgi scripts, there wont by any problem.