How to upgrade mysql from 5.0 to the latest version ?

Discussion in 'Site & Server Administration' started by deriklogov, Oct 18, 2009.

  1. #1
    How to upgrade mysql from 5.0 to the latest version ? looking for easiest way
    oS: centos
     
    deriklogov, Oct 18, 2009 IP
  2. deriklogov

    deriklogov Well-Known Member

    Messages:
    1,080
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    130
    #2
    I download rpm package

    and try to install it, but got this error:

    root@fast [/home]# rpm -Uvh MySQL-server-5.4.3-0.glibc23.x86_64.rpm
    error: Failed dependencies:
    perl(DBI) is needed by MySQL-server-5.4.3-0.glibc23.x86_64

    looks like perl(DBI) is missing, how I can install it ?
     
    deriklogov, Oct 18, 2009 IP
  3. deriklogov

    deriklogov Well-Known Member

    Messages:
    1,080
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    130
    #3
    I decide to ignore it , and still no luck

    error: %pre(MySQL-server-5.1.39-0.glibc23.x86_64) scriptlet failed, exit status 1
    error: install: %pre scriptlet failed (2), skipping MySQL-server-5.1.39-0.glibc23
    root@fast [/home]# /sbin/service mysql start
    Starting MySQL..


    second try I even was try to install lower version than first time
     
    deriklogov, Oct 18, 2009 IP
  4. cpace1983

    cpace1983 Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yum search perl|grep "dbi"
    is a good start.


    ETA: are you using the repositories mentioned in the article? If not, I'd highly recommend it, in order to resolve any additional dependencies.
     
    cpace1983, Oct 18, 2009 IP