Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am attempting to install mysql on a server. It's a fresh install of RHEL 6.3. Yet, when I run 'yum install mysql mysql-server, I get the following messages.

Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package mysql available.
No package mysql-server available.
Error: Nothing to do

Could someone tell my if I am missing something here as the above message only indicates to me that the repo being used doesn't have what I am wanting to install in it. If I am just not using a proper repo, perhaps you could direct me accordingly. I am using EPEL.

epel      Extra Packages for Enterprise Linux 6 - x86_64          7,676
rpmfusion-free-updates      RPM Fusion for EL 6 - Free - Updates    162
rpmfusion-nonfree-updates   RPM Fusion for EL 6 - Nonfree - Updates  22

Thanks.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

This appears to be a bug in RHEL 5.8 and 6.3 (mirror). You should contact Red Hat for a solution if the one provided does not work for you.

Edit: Since the other answer was actually correct, and whoever it was deleted it... You also must have an active Red Hat subscription for the machine.

share|improve this answer
    
Is it really necessary to have a subscription just to use a repository? –  Skittles Aug 5 '12 at 19:54
    
@Skittles Yes, it's required. Have you registered this system with rhn_register? –  Shane Madden Aug 5 '12 at 20:07
    
I just got the credentials from my network guy. Looks like it took them after running rhn_activate. Thanks, to both of you. –  Skittles Aug 5 '12 at 20:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.