LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2004, 12:06 AM   #1
Yohhan
LQ Newbie
 
Registered: Dec 2002
Posts: 28

Rep: Reputation: 15
Upgrading from MySQL 3 to 4


I'm trying to upgrade the default MySQL 3.xx installation on my Redhat 8.0 machine to MySQL 4. In the past I've just installed my programs using tarballs and compiling the source, but it seems to be difficult to upgrade to new versions of an application when I do that. I'm not always sure where everything is installed. So instead, I'm trying to learn to use rpm. When I ran the upgrade command I received the following errors:

[root@localhost root]# rpm -U MySQL-server-4.0.18-0.i386.rpm
warning: MySQL-server-4.0.18-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
libmysqlclient.so.10 is needed by (installed) libdbi-dbd-mysql-0.6.5-2
libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-1.11-10
libmysqlclient.so.10 is needed by (installed) MyODBC-2.50.39-7
libmysqlclient.so.10 is needed by (installed) MySQL-python-0.9.1-4
libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1017-3
libmysqlclient.so.10 is needed by (installed) qt-MySQL-3.0.5-17
libmysqlclient.so.10 is needed by (installed) php-mysql-4.2.2-8.0.8


What exactly does this mean? It looks like it's trying to tell me these dependencies do not exist. However, I did a rpm -qa | grep <module> for the first three, and they were there. So what's the problem? Any suggestions?

Thanks in advance.
 
Old 04-30-2004, 12:23 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Which three are there? The right hand column, or the left hand column? This is telling you that the item named the the left hand column is missing, or it can't find it.
 
Old 05-01-2004, 02:11 PM   #3
Yohhan
LQ Newbie
 
Registered: Dec 2002
Posts: 28

Original Poster
Rep: Reputation: 15
libdbi-dbd-mysql-0.6.5-2
mod_auth_mysql-1.11-10
MyODBC-2.50.39-7

These three popped up when I ran:
rpm -qa | grep <module>

So I'm assuming they're installed. I can test the rest if necessary, but if those first three were installed, I'm wondering why I received the message that they weren't.
 
Old 05-01-2004, 03:00 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
The problem is that you're just trying to update the mysql-server RPM. There are several other RPMs related to MySQL such as mysql-client and others. If you just upgrade the server without upgrading the others, various things such as libraries are goinmg to break since they change with new MySQL releases.

Do rpm -qa | grep mysql and get updated MySQL packages for all of your MySQL RPMs, not just the server. Then install them all in one batch, and it should work.
 
Old 05-01-2004, 03:22 PM   #5
Yohhan
LQ Newbie
 
Registered: Dec 2002
Posts: 28

Original Poster
Rep: Reputation: 15
Okay. How do I install them in one batch?
 
Old 05-02-2004, 01:22 PM   #6
yoshi789
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
Just give the filename of each RPM that you are wanting to update separating them by spaces. For Example:

[root@localhost root]# rpm -U MySQL-server-4.0.18-0.i386.rpm MySQL-shared-compat-4.0.18-0.i386.rpm

btw
Be sure to include MySQL-shared-compat-4.0.18-0.i386.rpm since it contains libmysqlclient.so.10
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling perl-DBD-MySQL after upgrading to MySQL 4.1 pitaro920 Linux - Software 1 01-16-2006 04:28 PM
Upgrading mySql from 3.23 to 4.1.10 atomicx Linux - Software 2 02-22-2005 10:54 AM
upgrading mysql mabus92920 Linux - Newbie 2 01-16-2005 09:35 AM
Upgrading to Mysql 4.0 ombill Fedora 2 08-19-2004 12:30 PM
Upgrading to Mysql 4.0 ombill Fedora 1 08-19-2004 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration