LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-16-2012, 11:48 PM   #1
Footsie
LQ Newbie
 
Registered: Jan 2012
Posts: 18

Rep: Reputation: Disabled
Difficulties with YUM / mysql


I am trying to install mysql v5.1 on CentOS 5.2

I have never used YUM before and now I am in a mess.

Originally, until half an hour ago, I was running mysql (server) version 5.0.45-7.el5.

Want to upgrade to v.5.1.

Never done this before, or anything like it. I backed up all databases, stopped the mysqld service and typed:

# yum install MySQL-server-5.1.60-1.glibc23.i386.rpm

YUM said:

Error: mysql conflicts with MySQL

That seemed fair enough since the two versions are not compatible. So, I typed:

# yum remove mysql

That was fine.

Finally I tried again to install the new mysql version:

# yum install MySQL-server-5.1.60-1.glibc23.i386.rpm

and got the messages:

warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 5072e1f5
Public key for MySQL-server-5.1.60-1.glibc23.i386.rpm is not installed

I can't start the mysql daemon and

# yum list MySQL

shows no trace of the package.

I tried a localinstall from a downloaded rpm file and got exactly the same result.

I hope this is something simple - it's a production server and I have to get it going again!

I tried reinstalling an older version of mysql, but not sure whether that has worked either - I can't start the mysqld service.
 
Old 11-17-2012, 01:05 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
As this is marked as 'solved', do you mind sharing how you solved it?

This is, by the way, a duplicate of http://www.linuxquestions.org/questi...ql-4175437516/ which has more replies.

Quote:
I hope this is something simple - it's a production server and I have to get it going again!
It does not sound like you had a redundant system to fall back on, so I hope you've learned an important lesson: do not mess with production servers till you know exactly how.
 
Old 11-17-2012, 02:40 AM   #3
rajkumar.m
LQ Newbie
 
Registered: May 2010
Posts: 18

Rep: Reputation: 12
give below command:

yum update MySQL-server-5.1.*


If you remove the package Mysql totally. Install it using below command

yum install MySQL-server-5.1.* -y


To install mysql5.5 use the below link
http://www.thetechnicalstuff.com/how...sredhat-linux/


Thanks
Rajkumar.M
For Linux related Technical Study check out the below link
www.thetechnicalstuff.com
 
1 members found this post helpful.
  


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
Nagios3 facing difficulties in retrieving MySql DB status.. with these messages.. linuxFreshMan Linux - Networking 4 09-19-2011 11:22 PM
[SOLVED] yum install php-mysql create problem to my running mysql database jsaravana87 Linux - Server 1 08-11-2011 03:24 AM
Difficulties with Yum DJockey Linux - Software 2 07-13-2009 05:18 PM
yum install php-mysql fails with mysql 5.1 - "Error: mysql conflicts with MySQL" rebelde Linux - Software 2 03-13-2009 10:32 AM
java and mysql connection difficulties mrj Linux - Software 1 07-04-2007 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 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