473,325 Members | 2,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Error Upgrading MySQL from 4 to 5



Today I began preparations for upgrading MySQL. I downloaded the binary RPMs for
Red Hat Enterprise 4 (we're running CentOS, a clone) for MySQL 5.0.13 from the
MySQL AB web site. Running a test, I got this:

[root@seabass ~] rpm -hUv MySQL* --test
warning: MySQL-client-standard-5.0.13-0.rhel4.i386.rpm: V3 DSA signature: NOKEY,
key ID 5072e1f5
error: Failed dependencies:
libmysqlclient.so.14 is needed by (installed) mod_auth_mysql-2.6.1-2.2.i386
libmysqlclient.so.14 is needed by (installed) php-mysql-4.3.9-3.6.i386
libmysqlclient.so.14 is needed by (installed) dovecot-0.99.11-2.EL4.1.i386
libmysqlclient.so.14 is needed by (installed) perl-DBD-MySQL-2.9004-3.1.i386
Has anyone else encountered this dependency problem? What would happen if I
--force'd RPM to do the upgrade?

--Richard
Oct 12 '05 #1
3 4787
Richard Petty wrote:
Has anyone else encountered this dependency problem? What would happen if I
--force'd RPM to do the upgrade?


If it were me, I'd start by reinstalling the machine, using a distro
other than Redhat. I've run into their maze of RPM dependencies before.
I tried the path of forcing installation of RPM's, but it just got
worse. You can also try uninstalling the dependent RPM's, but they
undoubtedly have a collection of other packages dependent on them in turn.

Basically the Redhat model assumes that you subscribe to their Redhat
Network ($$$) and you get all your RPM updates at the same time. That's
the only way to resolve all the dependencies. But you'll probably have
to wait until 2009 for them to add MySQL 5 to their updates.

I'm very sorry to be so negative. I usually try to be much more
"can-do" on these newsgroups.

You can install MySQL from the tar.gz distribution instead of using
RPM's. Install the MySQL 5 distribution adjacent to, but not
overlapping, the existing MySQL 4 RPM's installed. Then shut off the
MySQL 4 service and disable it using chkconfig. But leave it installed
so that it resolves those other dependencies.

You can also build MySQL from source, and specify where to install it
when you configure the build.

Regards,
Bill K.
Oct 12 '05 #2
Hi,

I had the same problem with Fedora Core 4 - I managed to update the server
anyhow (unfortunately, I really can't remember how I did it), but it was a
painful task. You might have the best chances if you install Linux without
Apache and MySQL, install MySQL 5 using the RPMs and afterwards install
Apache (and pray that there are no failed dependencies then).

Recently I tried the same with SuSE 10 and it was very easy. So maybe it's
really the better option to consider another distribution.

Good luck!

Markus
Oct 15 '05 #3
The solutions seems to be using "shared-compat" rpm rather than "shared-standard" rpm. Check the bug notes at: http://bugs.mysql.com/bug.php?id=17035 for more information.

-S
Mar 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Morten Gulbrandsen | last post by:
Hello programmers this is my path, C:\mysql\bin>path PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\mysql\bin After installing 4.1.0-alpha-max-debug I try to start...
0
by: Jonathan Hilgeman | last post by:
Currently, I'm running 3.23.51 on Red Hat 7.1, and I'm contemplating upgrading to MySQL 4.0, but I'm not sure what to expect. I don't know if MySQL 4.0 is fully backwards-compatible with 3.23.x...
0
by: Richard Gabriel | last post by:
Hi all, The following keeps happening and I can't pinpoint a query that is causing it. It did not happen in 3.23.x, but started upon upgrading to 4.0.14. The operating system/hardware...
0
by: Mike Chirico | last post by:
With mysql-4.1.1-alpha, using any User Defined Function ( UDF) at the query execution stage, on Linux 2.6, gave me the following error: "ERROR 2013 (HY000): Lost connection to MySQL server...
2
by: wellington fan | last post by:
Dear newsies, My ISP has offered to upgrade my servers from 3.23 to 4.1. I'm excited by the potential gains in performance, and the ability to write subqueries, but am wary of any forward...
5
by: Grant Nosbush | last post by:
I have searched the newsgroups and the web trying to solve this problem and just can't get it. Maybe someone will be able to help. I am getting the following error when I try to view a test page...
2
by: Jonathan | last post by:
Hi! I am trying to get my C++ connecting and communicating with a mySQL server on my developer PC. I did a next-next-finish installation of mySQL and installed the developer libraries as well. ...
1
nirmalsingh
by: nirmalsingh | last post by:
hi my coding is <?php /* You should never post secure details like IP address, username and password on a public forum Removed for security Banfa Admin */
4
by: adam.timberlake | last post by:
Me again! I am trying to create a currency converter function for my eCommerce that still pet treats. I am a little short on money recently and so cannot afford a programmer. Can somebody tell me...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.