Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    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 ?
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    830
    Likes Received:
    26
    Trophy Points:
    178
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. paysite-cash

    paysite-cash Active Member

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

    MaestriaNick Well-Known Member

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice