The first step: Download this package, the command is:
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
Step Two: Install, command:
RPM-IVH mysql-community-release-el7-5.noarch.rpm
The third step: check whether the installation is successful, the appearance of a two package can be:
Ls-1/etc/yum.repos.d/mysql-community*
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/83/1E/wKiom1drW4Tyt7NPAAA2cRJfK_c331.jpg-wh_500x0-wm_3 -wmp_4-s_4080975284.jpg "title=" 0.jpg "alt=" Wkiom1drw4tyt7npaaa2crjfk_c331.jpg-wh_50 "/>
Fourth step: Install Mysql-server.
#yum Install Mysql-server
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/83/1E/wKioL1drW9SRut0ZAAEhJ2EilHo882.jpg-wh_500x0-wm_3 -wmp_4-s_1842241435.jpg "title=". 0.1.jpg "alt=" Wkiol1drw9srut0zaaehj2eilho882.jpg-wh_50 "/>
This article is from the "Li Xiaodong" blog, make sure to keep this source http://lixiaodong2016.blog.51cto.com/11693292/1792113
redhat7.2 Troubleshooting Yum Installation Mysql-server No packages available