Jump to content
Compatible Support Forums
Sign in to follow this  
ravmanm

Upgrading Mysql from 3.23 to 4.0.23

Recommended Posts

Hi, I have been trying to install MySQL package on Redhat 9.0 but have been unsuccessful.

 

when I try and install the RPM, I get the following error:

 

error: Failed dependencies:

libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-1.11-12

libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1021-3

libmysqlclient.so.10 is needed by (installed) php-mysql-4.2.2-17

 

When I type in:

locate mysqlclient.so

 

the result is:

/usr/lib/mysql/libmysqlclient.so.10.0.0

/usr/lib/mysql/libmysqlclient.so.10

 

So it is there, but how do I get the rpm to recognise that mysqlclient.so.10 is there?

 

I am fairly new to this, so any help at all will be appreciated.

 

Many Thanks

Ravin

Share this post


Link to post

The problem is that while the libs are installed on your system they are not registered with the RPM database.

 

You can fix this in a kind of silly way. Locate the RPMS on your install disks and then:

 

rpm -if <rpm name of package>

 

You may get other dependencies, which you must similarly resolve.

 

Alternatively, and the method I favor, is to go to the mysql.com site and download the .tar.gz files and install that way. The instructions for the installation are pretty straightforward. But, be warned that the databases for 3.xx and 4.xx (the grant tables in particular) must be repaired.

 

You would have to fix your grant tables no matter how you do the install.

 

Hope this helps

Bill

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×