Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,048
1
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)
 

Attachments

Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,048
1
343
anyone can help me please ?
 

Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,048
1
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 ?
 
Last edited:

Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,048
1
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