Jump to content


Photo

Upgrading Mysql from 3.23 to 4.0.23


  • Please log in to reply
1 reply to this topic

#1 ravmanm

ravmanm

    stranger

  • Members
  • 1 posts

Posted 30 January 2005 - 03:34 PM

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

#2 BSchindler

BSchindler

    journeyman

  • Members
  • 68 posts

Posted 14 February 2005 - 11:50 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq