LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-24-2007, 10:08 AM   #1
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Rep: Reputation: 16
Install MySQL on CentOS 3.4 gives error


Hi All,
I am trying to Install MySQL on CentOS 3.4

I tried via yum.
Code:
yum install mysql-server
and it gives me this error
Code:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b
Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/base/packages/mysql-server-3
.i386.rpm
Error: You may want to run yum clean or remove the file:
 /var/cache/yum/base/packages/mysql-server-3.23.58-16.RHEL3.1.i386.rpm
Error: You may also check that you have the correct GPG keys installed
Then I tried installing manually by doing this
Code:
wget ftp://gd.tuwien.ac.at/db/mysql/Downloads/MySQL-4.0/MySQL-4.0.21-0.src.rpm
Rebuild |rpmbuild --rebuild MySQL-4.0.21-0.src.rpm|
But rebuilt command is not recognised.

Could someone please help me.
Thank you in-advance,
Best regards,
Azzath.
 
Old 05-24-2007, 11:20 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Follow the advice from error message:

yum clean all
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-3
rm /var/cache/yum/base/packages/mysql-server-3.23.58-16.RHEL3.1.i386.rpm

You need to install rpm-build: yum install rpm-build

FYI: rebuilding the source package will not get you any binary rpm file(s);

rpmbuild --rebuild --recomplile MySQL-4.0.21-0.src.rpm
 
Old 05-24-2007, 11:59 AM   #3
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Original Poster
Rep: Reputation: 16
Thanks a lot Lenard. It was helpful

Best Regards,
Azzath.
 
  


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
[SOLVED] which one to install centOS 4 or centOS 5 ? Pls HELP !!! vikas027 Linux - Newbie 2 05-13-2007 06:04 AM
Mail::ClamAV error on install on CentOS 4.4 waelaltaqi Linux - Server 0 02-19-2007 10:58 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
MySql Install error osga Linux - Newbie 3 03-23-2005 03:26 PM
mysql installation error (make install error) jolly_good2000 Linux - Software 1 11-14-2002 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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