1. 程式人生 > >mysql安裝 - yum安裝

mysql安裝 - yum安裝

spa 啟動mysql -c -h sql height mysql安裝 community wget

1. 下載mysql的repo源

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

2. 安裝 mysql-community-release-el7-5.noarch.rpm 包

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

3. 安裝mysql

sudo yum install mysql-server

4. 啟動mysql

service mysqld start

mysql安裝 - yum安裝