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.

cPanel update - stop mysql updating

Discussion in 'General Discussion' started by demomen, Jul 4, 2005.

  1. demomen

    demomen Well-Known Member

    Joined:
    Sep 25, 2004
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    I would like to know how I disable mysql from updating in the future unless I want it to, I'm using the
    stable config at the moment, and would like mysql to stay on 4.0.24
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You'd need to set SYSUP to manual in /etc/cpupdate.conf, however that will of course prevetn sysup from running at all which will mean other apps and OS updates won't happen either. Why do you want to prevent mysql from updating? All that is likely to be release for v4.0 are security fixes and surely you'd want those?
     
  3. Saeven

    Saeven Active Member

    Joined:
    Jun 23, 2003
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ottawa
    cPanel Access Level:
    Reseller Owner
    Twitter:
    Having installed mySQL 5.0 successfully, UPCP ran and recently downgraded everything to 4.1.18 again.

    Is it possible to retain use of upcp, yet disable its mySQL update routine? I'd have to have to reinstall mySQL each time upcp decides to run.
     
  4. fleksi

    fleksi Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    you can create /etc/mysqldisable file to disable mysql from updating in the future
    Code:
    touch /etc/mysqldisable
    -FL-
     
  5. amal

    amal Well-Known Member

    Joined:
    Nov 22, 2003
    Messages:
    155
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Also touch the file - /etc/mysqlupdisable

    To be specific,

    /etc/mysqlupdisable disable the script - /scripts/mysqlup
    /etc/mysqldisable disable the scripts - /scripts/securemysql & /scripts/restartsrv_mysql
     
Loading...

Share This Page