LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 05-22-2008, 12:42 PM   #1
Newbie0520
LQ Newbie
 
Registered: May 2008
Posts: 8

Rep: Reputation: 0
Smile SuSE 9 - Having problems upgrading MySql 4.0 to 4.1


This is the errors I get when upgrading thru rpm:

file /usr/bin/perror from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/bin/replace from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/share/man/man1/perror.1.gz from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/share/man/man1/replace.1.gz from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1

Any help will be appreciated!
 
Old 05-22-2008, 12:49 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,192

Rep: Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469
Quote:
Originally Posted by Newbie0520 View Post
This is the errors I get when upgrading thru rpm:

file /usr/bin/perror from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/bin/replace from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/share/man/man1/perror.1.gz from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/share/man/man1/replace.1.gz from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1

Any help will be appreciated!
You can either remove the mysql-client package (rpm -e), upgrade the mysql-client package first, or force the upgrade (rpm -i --upgrade --force <your mysql rpm package name>).

The latest version of MySQL is 5.0, with the 5.1 release candidate out already. 4.1 is very old.
 
Old 05-22-2008, 01:10 PM   #3
Newbie0520
LQ Newbie
 
Registered: May 2008
Posts: 8

Original Poster
Rep: Reputation: 0
thanks Tbone,

This is what I get:

> rpm -e mysql-client-4.0.18-32.1
error: Failed dependencies:
mysql-client is needed by (installed) mysql-4.0.18-32.20

this is what I get when I run the command: rpm -qa |grep mysql

php4-mysql-4.3.4-43.46.3
perl-DBD-mysql-2.9003-22.1
mysql-client-4.0.18-32.1
qt3-mysql-3.3.1-35.11
mysql-4.0.18-32.20
mysql-shared-4.0.18-32.1
python-mysql-0.9.3b2-90.1

It seems I need to get rid of "mysql-4.0.18-32.20"

Yes, I know that the latest MySQL out there is 5.0. I was trying to follow the recomendations of mysql.com
where theys say I quote "As a general rule, we recommend that when upgrading from one release series to another, you should go to the next series rather than skipping a series." So, since the version I have installed right now is 4.0 I wanted to upgrade it to 4.1 and then 5.0. Do you think I won't have any issues just doing the upgrade to 5.0?
 
Old 05-22-2008, 02:57 PM   #4
Newbie0520
LQ Newbie
 
Registered: May 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Smile

TBone,

thanks for the help I ran the client rpm first and then the server rpm and worked like a charm.
 
Old 02-25-2009, 06:37 PM   #5
jotace
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Wink

Quote:
Originally Posted by Newbie0520 View Post
TBone,

thanks for the help I ran the client rpm first and then the server rpm and worked like a charm.
Hey, Newbie0520.. i guess i'm newbier...

I'm having the same problem..
I've downloaded the files:

MySQL-server-standard-4.1.22-0.sles9.i586.rpm
MySQL-client-4.1.11-0.i386.rpm

To upgrade mysql 4.0 to 4.1

Would you please give me the necessary commands in linux to get my mysql upgraded... am i missing any additional file?

TKS A LOT!!!
 
Old 02-26-2009, 01:17 PM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,192

Rep: Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469Reputation: 2469
Quote:
Originally Posted by jotace View Post
Hey, Newbie0520.. i guess i'm newbier...

I'm having the same problem..
I've downloaded the files:

MySQL-server-standard-4.1.22-0.sles9.i586.rpm
MySQL-client-4.1.11-0.i386.rpm

To upgrade mysql 4.0 to 4.1

Would you please give me the necessary commands in linux to get my mysql upgraded... am i missing any additional file?

TKS A LOT!!!
Look at my first post on this thread, it has the commands.

Also, you need to start your own thread, rather than hijacking someone elses. This is from May of last year....
 
  


Reply

Tags
mysql, upgrade


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 PM
Problems upgrading MySql alex986best Linux - Software 1 06-14-2006 11:46 AM
Problems upgrading to PHP5 and MySQL 5 ernesto_cgf Suse/Novell 2 04-05-2006 07:06 PM
Upgrading to mySQL 4.x on SusE Linux paulsm4 Linux - Software 0 08-04-2004 06:58 PM
Upgrading to MySQL 4 problems Rv5 Linux - Software 1 02-19-2004 01:37 PM


All times are GMT -5. The time now is 12:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration