Wednesday, January 19, 2011

How to upgrade mysql server

How can i upgrade mysql version 5.0.22 to version 5.0.51a ??

My server info:

Linux version 2.6.18-8.1.8.el5 (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)

Thanks

  • sudo yum update mysql-5.0.51a perhaps.

    Of course checking that mysql-5.0.51a is indeed the correct name in the yum repositotry for MySQL.

  • yum upgrade mysql*

    From Rajat
  • obviously:

    yum upgrade mysql*
    

    but, please, don't forget that:

    mysqldump
    

    is your best friend!!!

    From pulegium
  • Beyond the basic (correct) answer that pulegium gave...

    You are using either RHEL5 or CentOS5; enable your yum system with the IUS Community repository, it's a shared repo (like EPEL) that aims to provide newer PHP and MySQL packages that fit right into your server that was started by Rackspace employees.

    Start here: http://wiki.iuscommunity.org/Doc/ClientUsageGuide

    While 5.0.51a is the latest Red Hat provides, IUS is providing 5.0.88 as of this writing.

    From troyengel

0 comments:

Post a Comment