
Originally Posted by
teckyhead
I've done a few mysql 4.x -> 5.x upgrades and never had a problem.
I know about the issues that can happen if you don't run the easyapache and perl update script afterwards, but this time the problem is a little different. The mysql server (5.0.45) is running fine but it appears that the client programs haven't been updated or there is some mismatch between them and the shared libraries. Here is the output of a few programs in order to provide some info...
===========================================
# cat /etc/redhat-release
CentOS release 4.6 (Final)
# yum info MySQL-devel
Installed Packages
Name : MySQL-devel
Arch : x86_64
Version: 5.0.45
Release: 0.glibc23
Size : 24 M
Repo : installed
Summary: MySQL - Development header files and libraries
# yum info MySQL-client
Name : MySQL-client
Arch : x86_64
Version: 5.0.45
Release: 0.glibc23
Size : 791 k
Repo : installed
Summary: MySQL - Client
# /scripts/mysqlup
MySQL Setup Script Version 7.0
Loaded cPPkgs::MySQL ok!
This is the cPPkgs::MySQL 5.0.45 installer for Linux.
MySQL 5.0.45 is up to date
Install Complete
===========================================
WHM is WHM 11.15.0 cPanel 11.18.1-R20683
So, yum and WHM are telling me Mysql is v5.0.45 and all up to date. However, when I run a client program such as mysqladmin I see this:
# mysqladmin
mysqladmin: /usr/lib64/libmysqlclient.so.15: version `libmysqlclient_15' not found (required by mysqladmin)
The _15 libs are there. Here's the file listing from /usr/lib64
==================================
# ls -al /usr/lib64/libmy*
lrwxrwxrwx 1 root root 26 Mar 2 06:09 /usr/lib64/libmysqlclient_r.so -> libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root 26 Mar 2 06:09 /usr/lib64/libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
-rwxr-xr-x 1 root root 2599067 Jul 17 2007 /usr/lib64/libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root 24 Mar 2 06:09 /usr/lib64/libmysqlclient.so -> libmysqlclient.so.15.0.0
lrwxrwxrwx 1 root root 20 Mar 2 05:55 /usr/lib64/libmysqlclient.so.14 -> libmysqlclient.so.15
lrwxrwxrwx 1 root root 24 Mar 2 06:09 /usr/lib64/libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
-rwxr-xr-x 1 root root 1343616 Sep 26 2006 /usr/lib64/libmysqlclient.so.15.0.0
==================================
PHP seems to have compiled fine ... I can get into phpMyAdmin without a problem. It seems that it's just those pesky Mysql client utilities that have a problem.
Gary