Not updated ... Get a job and play, now install the machine ~
Install a MySQL to CentOS 7, reprint an article at a time, and record the following:
Original address: Http://www.phpini.com/mysql/rhel-centos-yum-install-mysql
At the beginning of RHEL and CentOS 7, the expected repository system is MariaDB, basically MariaDB can replace MySQL, but if you still want to continue with MySQL, in addition to the original code of the MySQL Community Server can be encoded, You can also install the official Yum repository provided by Oracle, so you can install MySQL Community Server through YUM. The following will be installed with the CentOS 7 installation of MySQL 5.6:
Install MySQL Repository:
# RPM-UVH http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
Installation of MySQL server, MySQL client has been included in the server suite:
# yum Install Mysql-community-server
Auto-Activate MySQL
#/usr/bin/systemctl Enable Mysqld
Activate MySQL
#/usr/bin/systemctl Start mysqld
MySQL is preset as an empty password, and the following instructions are modified:
#/usr/bin/mysql_secure_installation
"Reprint" Rhel/centos 7 with Yum install MySQL 5.6