1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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,078
    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,078
    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