Recent Changes - Search:



My journals will take the place of a blog. They have moved to

Sites I take responsibility for






Places I frequent



Items for sale:


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:

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":)

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

(: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


... 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


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 -

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