domingo, 31 de julio de 2016

Install mysql server on RHEL7


RHEL (and other projects like CentOS) have dropped the MySQL project and started to use the (community driven) fork MariaDB as their default database.
If you want to install mysql on these servers, you’ll need to install maiadb. If you still want to continue using mysql, you can add the repository manually.
Download the repository rpm
# sudo yum install wget
# wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
Install the repository
# sudo rpm -i mysql-community-release-el7-5.noarch.rpm
You can now install the mysql-server
# sudo yum install mysql-server
# sudo chkconfig mysqld on
# sudo systemctl [start | stop | restart] mysqld
And finally, secure your installation

No hay comentarios:

Publicar un comentario