User Tools

Site Tools


databaseandnetworkmanagement:install_mysql

Install Mysql v5.1.73 on REHL 6.6

Introduction

This page describes the process of installing mySQL v5.1.73 on REHL 6.6


Install Steps

You will find the 2 files you need in Google Driver → MySQL → Install Mysql on REHL 6.6

copy : mysql-server-5.1.73-3.el6_5.x86_64.rpm and perl-DBD-MySQL-4.013-3.el6.x86_64.rpm

Onto your desired server.

Install the perl one first:

sudo rpm -Uvh perl-DBD-MySQL-4.013-3.el6.x86_64.rpm

Then install the mysql server:

mysql-server-5.1.73-3.el6_5.x86_64.rpm

On the server start mysql: sudo service mysqld start

Login mysql -uroot

Give the root login the usual password GRANT ALL ON *.* to 'root'@'localhost' IDENTIFIED BY 'THEUSUAL';

Log out and log back in exit
mysql -uroot -p

Ensure you can log in with the newly set password and you cannot log in without a password as root

Note if you get any errors you may need to install the libs and the mysql application

sudo rpm -Uvh mysql-libs-5.1.73-3.el6_5.x86_64.rpm

sudo rpm -Uvh mysql-5.1.73-3.el6_5.x86_64.rpm

databaseandnetworkmanagement/install_mysql.txt · Last modified: 2021/06/25 10:09 by 127.0.0.1