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 overwrites MySQL 5.0.21?

Discussion in 'General Discussion' started by softwareguy, May 25, 2006.

  1. softwareguy

    softwareguy Member

    Joined:
    May 9, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I have removed the old 5.0.18 rpms using the rpm -e command and installed the new 5.0.21 rpms using rpm -ivh but it seems that cPanel would overwrite my current rpms whenever I do something in cPanel.
    Are there in ways to prevent this?
    Currently using the CURRENT 114 build.
    Thanks everyone.
     
  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
    Yes, if you look at the top of /scripts/mysqlup you'll see that if you do the following it will not update:

    touch /etc/mysqlupdisable
     
  3. softwareguy

    softwareguy Member

    Joined:
    May 9, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Cool thanks. This is indeed very interesting.
    But since touch only modifies the modification date, how long would this command last?
    Just wondering... :eek:
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Sort of.

    That's what touch says it does. However, a side-effect of that command is that it simply creates an empty file, which is all you need for this purpose. The other use of touch (for modifying a files details) is not relevant here.
     
  5. softwareguy

    softwareguy Member

    Joined:
    May 9, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Ah, gotcha.
    If I ever need to enable mysqlup, do I just delete that file in shell and everything should be fine?
    Just want to make sure there are no "side-effects" to this :D
     
  6. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16

    Yup, it should be.
     
Loading...

Share This Page