joken-前端工程师

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: :: 管理 ::

===添加源

$wget 'https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm'
$sudo rpm -Uvh mysql57-community-release-el7-11.noarch.rpm
$yum repolist all | grep mysql
mysql-connectors-community/x86_64 MySQL Connectors Community                  36
mysql-tools-community/x86_64      MySQL Tools Community                       47
mysql57-community/x86_64          MySQL 5.7 Community Server                 187


==安装

sudo yum install mysql-community-server

 

==启动

sudo service mysqld start 

 

具体查看这篇文章 https://www.jianshu.com/p/7cccdaa2d177

posted on 2018-05-21 22:44  joken1310  阅读(114)  评论(0编辑  收藏  举报