Install MySQL 5.5.30 on RHEL/CentOS, Fedora

Photo of author

By rasho

What is MySQL?

MySQL is one of the most popular relational database Management System on the web. The MySQL Database has become the world’s most popular open source  Database, because it is free and available on almost all the platforms. The MySQL can run on Unix , window, and Mac OS. MySQL is used for the internet applications as it provides good speed and is very secure. MySQL was developed to manage large volumes of data at very high speed to overcome the problems of existing solutions. MySQL can be used  for verity of applications but it is mostly used for the web applications on the internet.

Install MySQL 5.5.30 on RHEL/CentOS 6 or 5

MySQL 5.5.30 package is available in remi repository so first enable that. Enable remi and epel repo.
Now lets install mysql server and client

# yum update
# yum --enablerepo=remi install mysql mysql-server

Start the server and make sure it comes up automatically on server reboots.

# service mysqld start
# chkconfig mysqld on

Starting/Stopping/Restarting MySQL Server

Follow the below command to start/stop/restart of the MySQL service.

# service mysqld start
# service mysqld stop
# service mysqld restart
# service mysqld status

See also: Backup and restore mysql database

Leave a Comment