The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

removing mysql

Discussion in 'General Discussion' started by paysite-cash, Aug 20, 2008.

  1. paysite-cash

    paysite-cash Active Member

    Joined:
    Feb 3, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    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 ?
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    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
     
  3. paysite-cash

    paysite-cash Active Member

    Joined:
    Feb 3, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    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 ?
     
  4. MaestriaNick

    MaestriaNick Well-Known Member

    Joined:
    Aug 6, 2008
    Messages:
    159
    Likes Received:
    3
    Trophy Points:
    18
    as long as you do not want to use any mysql realted things via php / cgi scripts, there wont by any problem.
     
Loading...

Share This Page