Since CENTOS7 is no longer the MySQL database by default, the degree is manually installed.
Full reference http://www.2cto.com/database/201501/371451.html
Here is a excerpt from the link below and some additions to your actual installation.
Select download MySQL Community server (GPL) version, because MySQL Community server 5.7.14 does not have rpm format file download, here we choose 5.6.32 version of the rpm format file download.
Download get Mysql-5.6.32-1.linux_glibc2.5.x86_64.rpm-bundle.tar file, extract
To enter the Mysql-5.6.32-1.linux_glibc2.5.x86_64.rpm-bundle folder, you can see:
Double-click to install the MYSQL-SERVER-5.6.32-1.LINUX_GLIBC2.5.X86_64.RPM
mysql-client-5.6.32-1.linux_glibc2.5.x86_64.rpm
mysql-devel-5.6.32-1.linux_glibc2.5.x86_64.rpm file (here the order of installation, I was in this order, as for not following this successively, I do not know whether there will be errors).
solutions to incorrect initial login password:
First stop MySQL services service MySQL stop
Then/usr/bin/mysqld_safe--skip-grant-tables & start MySQL (Note that the "&" symbol does not leak)
After the last command is executed, hit a carriage return and enter mysql-u root MySQL
Next update the MySQL root user login password:
Now you are ready to start working with MySQL, and do not do anything to see the link at the beginning of the article.
Manual installation under Centos7 Mysql-5.6.32-1.linux_glibc2.5.x86_64.rpm-bundle