LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-29-2007, 05:09 AM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
Installing MySQL 5 in Centos4.4 - removing old Mysql files


hi guys, I am trying to install MySQL 5.0.37 rpm into a vanilla Centos4.4 box.

Weirdly, even though I didn't specify Mysql during installation, it still installed mysql-4.1.<something>

I run a rpm -e to remove it, but dependency issue prevented it.
I then run rpm -Uvh on the new rpms, but same dependency problems (though its other files)
I then run yum to remove the old one, before it work.

Is that the only way for rpms? using yum?
 
Old 03-29-2007, 01:55 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
Most likely not, use --force and possibly --nodeps to force an uninstall. But then again, if you're trying to upgrade an RPM and it's complaining about dependencies, it's best to install such dependencies.
 
Old 03-29-2007, 06:50 PM   #3
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
If you are using CentOS, google for CentOSPlus. It is a repo with some software like MySQL 5, PHP 5 and modified kernels with various supports. Cool Stuff. Add the centosplus repo and all your dependancies should be taken care of if you do a yum update mysql-server....
 
Old 03-31-2007, 04:42 AM   #4
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Original Poster
Rep: Reputation: 30
includeing tomcat?? I have been trying to setup tomcat too.. and to no avail!
 
Old 03-31-2007, 07:47 AM   #5
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
I looked and it wasn't in the repo:
http://mirror.centos.org/centos/4/centosplus/i386/RPMS/
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
Deleted the mysql db files from /var/lib/mysql and reinstalling doesn't work! Frostblade Linux - Software 1 05-24-2006 10:16 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 02:43 PM
Installing MySQL.4.0.17 and php support for Mysql on RedHat 9.0 Neha Linux - Software 13 12-29-2003 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:14 PM.

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