Recent Changes - Search:


Code:


Social:


My journals will take the place of a blog. If you go to the Journal page there is an RSS feed to subscribe with.

(:blogcal group=Journal:)


Sites I take responsibility for

West Volusia, Florida

Documents

Technical

General

Me

Living

Places I frequent

Hobbies

Humor

Items for sale:


Clipboard

edit SideBar

Installing MySQL on RHEL 5 without Redhat subscription

Include our styles below Infobox - invoke as >>infobox<< ... >><<

Codebox: - invoke as >>codebox<< ... >><<

warnbox: - invoke as >>codebox<< ... >><<

editingbox: - invoke as >>codebox<< ... >><<

noticebox: - invoke as >>codebox<< ... >><<

Page bread crumbs: Main - MyPublicTechnicalNotes - SoftwareAndOperatingSystems - Linux - Howtos - InstallingMySQLOnRHEL5WithoutRedhatSubscription

Pages by tags: (:listtags:)
Subscribe to this wiki: RSS Feed RSS or subscribe to this page for changes: RSS Feed RSS
496 articles have been published so far. Recent changes
(:addThis btn="custom":)

2016-03-22: This site is being moved to my main site at https://kevininscoe.com/wiki as part of a consolidation to one domain.


This is a note to myself for later but if it helps you great! I found myself having to install MySQL on a RHEL 5.x system that no longer had a maintained support account with Redhat which means yum install mysql would not work here. I decided to go with RPM's from MySQL web site.

Installing MySQL on RHEL 5 without subscription:

Download from http://linux.hmhpub.com/soft/MySQL/MySQL-5.6.15-1.rhel5.x86_64.rpm-bundle.tar

(:code lang=Bash wrap=80:)

  1. mkdir /root/mysql
  2. cd /root/mysql
  3. rpm -i MySQL-shared-compat-5.6.15-1.rhel5.x86_64.rpm
  4. rpm -i MySQL-shared-5.6.15-1.rhel5.x86_64.rpm
  5. rpm -i MySQL-server-5.6.15-1.rhel5.x86_64.rpm

(:codeend:)

... A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER ! You will find that password in '/root/.mysql_secret'.

You must change that password on your first connect, no other statement but 'SET PASSWORD' will be accepted. See the manual for the semantics of the 'password expired' flag.

(:code lang=Bash wrap=80:)

  1. rpm -i MySQL-client-5.6.15-1.rhel5.x86_64.rpm
  2. rpm -i MySQL-devel-5.6.15-1.rhel5.x86_64.rpm
  3. cat /root/.mysql_secret
  4. The random password set for the root user at Thu Jan 23 13:18:41 2014 (local time): CiEHNk0u
  5. service mysql start

Starting MySQL..[ OK ]

  1. chkconfig mysql on

(:codeend:)

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('xxxxxxxxx');


Kevin's Public Wiki maintained and created by Kevin P. Inscoe is licensed under a
Creative Commons Attribution 3.0 United States License.

Back to my web site - http://kevininscoe.com

Edit - History - Print - Recent Changes - Search
Page last modified on February 13, 2014, at 03:43 PM EST