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.

mysql problem version

Discussion in 'General Discussion' started by Radio_Head, Oct 26, 2006.

  1. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    anyone can explain me why this

    #mysql -V
    returns
    mysql Ver 12.22 Distrib 4.0.20, for pc-linux (i686)

    while everythining on server/WHM/php info/cpanel everything I read that I have
    Client API version 4.1.21 ??

    /scripts/mysqlup --force didn't solve the problem.

    The serious problem is that easypache does not permit to upgrade to php5 because it
    see 4.0.20 instead of 4.1.21 !! (look the attachment)
     

    Attached Files:

    • whm.jpg
      whm.jpg
      File size:
      39.7 KB
      Views:
      22
  2. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    anyone can help me please ?
     
  3. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    With the help of irc friend we found 2 mysql versions

    /usr/bin/mysql 4.1.21
    /usr/local/bin/mysql 4.0.20

    the 2th should not be there ?

    # which mysql
    /usr/local/bin/mysql

    #mysql -V
    mysql Ver 12.22 Distrib 4.0.20, for pc-linux (i686)

    #mysqladmin version |grep Server
    Server version 4.1.21-standard !


    # rpm -qa |grep -i mysql
    MySQL-client-4.1.21-0.glibc23
    MySQL-embedded-4.1.21-0.glibc23
    MySQL-bench-4.1.21-0.glibc23
    MySQL-shared-4.1.21-0.glibc23
    MySQL-devel-4.1.21-0.glibc23
    MySQL-server-4.1.21-0.glibc23



    How to proceed please ?
     
    #3 Radio_Head, Oct 27, 2006
    Last edited: Oct 27, 2006
  4. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    FIXED , thank you to dlm21 on irc !!

    renamed
    /usr/local/bin/mysql with /usr/local/bin/mysql.old

    renamed
    /usr/local/lib/mysql with /usr/local/lib/mysql.old

    #hash -r
     
Loading...

Share This Page