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.

Updating to mysql 4.1.16

Discussion in 'General Discussion' started by hmm, Jan 21, 2006.

  1. hmm

    hmm Well-Known Member

    Joined:
    Jan 11, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Hi,
    According to cpanel latest version of mysql is 4.1.14 but I need to updrade it to 4.1.16. Is there any way by which I can do it?

    I am facing few problems with mysql 4.1.14....

    Thanks
     
  2. hmm

    hmm Well-Known Member

    Joined:
    Jan 11, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    bump

    can anyone guide me to this?

    Thanks
    Deep
     
  3. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    /scripts/mysqlup

    I think that will work..

    or try /scripts/mysqlup --force

    See if that works
     
  4. fleksi

    fleksi Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    #4 fleksi, Jan 27, 2006
    Last edited: Jan 27, 2006
  5. hmm

    hmm Well-Known Member

    Joined:
    Jan 11, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    latest is still 4.1.14 for cpanel and thats why I asked for ways to update to 4.1.16.

    But I guess it wont be possible with cpanel to update mysql manually...

    Deep
     
  6. fusioncroc

    fusioncroc Well-Known Member

    Joined:
    Sep 28, 2004
    Messages:
    261
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    U.K.
    If you are not running CentOS 3.x or RHEL 3.x:
    Download the RPMs off dev.mysql.com your want client,standard,devel,server,embedded,shared and maybe bench.
    Then rpm -Uvh ./* in the directory you downloaded them to.

    Else paste the following into a new file, chmod +x it then run it (sh file)
    Code:
    #!/bin/sh
    cd /root
    mkdir mysql-rpm
    cd mysql-rpm
    wget http://mysql.he.net/Downloads/MySQL-4.1/MySQL-server-standard-4.1.16-1.rhel3.i386.rpm
    wget http://mysql.he.net/Downloads/MySQL-4.1/MySQL-client-standard-4.1.16-1.rhel3.i386.rpm
    wget http://mysql.he.net/Downloads/MySQL-4.1/MySQL-devel-standard-4.1.16-1.rhel3.i386.rpm
    wget http://mysql.he.net/Downloads/MySQL-4.1/MySQL-shared-standard-4.1.16-1.rhel3.i386.rpm
    rpm -Uvh ./*.rpm
    
    Also, you may need to chmod 600 /scripts/mysqlup to stop it being 'upgraded' to 4.1.14
     
    #6 fusioncroc, Jan 27, 2006
    Last edited: Jan 27, 2006
  7. hmm

    hmm Well-Known Member

    Joined:
    Jan 11, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    This is what I call a perfect solution :)

    Thanks for the help...
    I will follow your steps..

    Regards,
    Deep
     
  8. hmm

    hmm Well-Known Member

    Joined:
    Jan 11, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Ouch...
    error

    Code:
    warning: ./MySQL-server-standard-4.1.16-1.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
    error: Failed dependencies:
            perl(DBI) is needed by MySQL-server-standard-4.1.16-1.rhel3
        Suggested resolutions:
            /var/spool/up2date/perl-DBI-1.32-9.i386.rpm
    
    When I went to that directory, I could not find the rpm file but ther was one .hdr file with the same name...

    any suggestions?

    Deep
     
  9. fusioncroc

    fusioncroc Well-Known Member

    Joined:
    Sep 28, 2004
    Messages:
    261
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    U.K.
    Try installing perl-DBI via up2date, or yum if you run CentOS.
     
  10. hmm

    hmm Well-Known Member

    Joined:
    Jan 11, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Thanks, I will find out way to do it :)

    Deep
     
Loading...

Share This Page