首页 > 代码库 > yum install mysql 5.7

yum install mysql 5.7

 

1.wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm

2.sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm

3.sudo yum install mysql-server

4.vi /etc/my.cnf

   添加参数到 文件的前面

#skip-grant-tables=1

5.service mysqld start

6.mysql 进去

  之后参考http://www.cnblogs.com/x-radish/p/6980433.html

 

yum install mysql 5.7