Install MySQL in CentOS 7
Let's talk about how to install the MySQL database in CentOS 7. I hope it will help you.
Download the source from the MySQL official website and use yum for installation:
# Wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
# Rpm-ivh mysql-community-release-el7-5.noarch.rpm
# Yum install mysql-community-server
Restart
# Service mysqld restart
Set the password for the Database root User: usr/bin/mysqladmin-u root password 123456
That's simple, enjoy your time!
The following content may also help you:
Install MySQL 5.6.24 in CentOS 6.6
Install MySQL 5.6.23 in Linux
The following is the MySQL-related content carefully selected by the editor to see if it is helpful:
Install MySQL 5.6 with the source code in CentOS 7
How to install and configure MySQL5.7.3.0
Install MySQL in Ubuntu 14.04
MySQL authoritative guide (original book version 2nd) Clear Chinese scan PDF
Ubuntu 14.04 LTS install LNMP Nginx \ PHP5 (PHP-FPM) \ MySQL
Build a MySQL Master/Slave server in Ubuntu 14.04
Build a highly available distributed MySQL cluster using Ubuntu 12.04 LTS
Install MySQL5.6 and Python-MySQLdb in the source code of Ubuntu 12.04
MySQL-5.5.38 universal binary Installation