Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    343
    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
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    anyone can help me please ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    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 ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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:
    343
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice