Installing MySQL 5.6 on CentOS 7
Reference: http://www.kakiro-web.com/linux/mysql-yum-repository-install.html
Download the MySQL repository configuration package
1 | wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm |
Install the MySQL repository
1 | rpm -Uvh mysql-community-release-el7-5.noarch.rpm |
For more about the rpm (Redhat Package Management) command, see the following:
http://itpro.nikkeibp.co.jp/article/COLUMN/20060227/230875/
Start / register MySQL
1 | systemctl start mysqld.service |
Accessing the database
1 | mysql -u root |
If you can connect as shown above, you have succeeded.
That’s all.
Installing MySQL 5.6 on CentOS 7
https://kenzo0107.github.io/en/2015/08/05/install-mysql5.6-on-centos7/