[CentOS] MySQL 5.5, PHP and other tools still use 5.0 client drivers

Mon Oct 28 21:30:49 UTC 2013
Matthew B. Brookover <mbrookov at mines.edu>

On Mon, 2013-10-28 at 22:18 +0200, Eero Volotinen wrote:
> 2013/10/28 Matthew B. Brookover <mbrookov at mines.edu>
> 
> > I upgraded a web server from CentOS 5.9 to 5.10.  The instructions also
> > indicate that MySQL 5.0 is no longer supported so I followed the
> > instructions to upgrade to 5.5.  Everything seems to be working so I
> > tried to remove MySQL 5.0 and MySQL 5.1.  It seems there are still
> >
> > As I understand it, there is no longer any support for
> > mysql-5.0.95-5.el5_9, but it looks like it is still in use.  Is there
> > any plan to move Perl DBD, mod_auth_mysql, ODBC, SASL, Dovecot, and PHP
> > from the 5.0 MySQL drivers to the 5.5 drivers?
> >
> > Is there something that I missed in the upgrade process?
> >
> 
> Yes, you cannot remove mysql-5.0. see redhat knowledge base for more
> information.

Thanks Eero, Good to know.

I did remove the rest of the 5.0 and 5.1 packages and will leave
mysql-5.0-5.el5_9 in place for now.  FYI, I searched through the rest of
the installed packages, the only one that has the client library is
mysql-5.0.95-5.el5_9.

[root at w3 root]# rpm -qa | grep mysql | while read a; do echo $a; rpm -ql $a | grep libmysqlclient | sed 's/^/   /'; done
mysql55-mysql-devel-5.5.32-3.el5
mysql55-mysql-server-5.5.32-3.el5
mysql55-runtime-1-12.el5
mod_auth_mysql-3.0.0-3.2.el5_3
mysql-connector-odbc-3.51.26r1127-2.el5
mysql-5.0.95-5.el5_9
        /usr/lib/mysql/libmysqlclient.so.15
        /usr/lib/mysql/libmysqlclient.so.15.0.0
        /usr/lib/mysql/libmysqlclient_r.so.15
        /usr/lib/mysql/libmysqlclient_r.so.15.0.0
mysql55-mysql-5.5.32-3.el5
mysql55-mysql-bench-5.5.32-3.el5
php53-mysql-5.3.3-21.el5
mysql55-mysql-libs-5.5.32-3.el5
mysql55-1-12.el5
mysql-bench-5.0.95-5.el5_9
mysql55-build-1-12.el5
mysql55-mysql-test-5.5.32-3.el5
[root at w3 root]# 


Matt