标签:sys led 登录 tar unity wget arch root mysql
1.下载mysql安装源并安装
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
2.检查可安装mysql软件包
yum repolist enabled | grep "mysql.*-community.*"
3.安装mysql
sudo yum install mysql-community-server sudo systemctl enable mysqld #设置开机启动 systemctl start mysqld #启动服务
4.登录mysql
mysql -uroot -p
Enter password:
标签:sys led 登录 tar unity wget arch root mysql
原文地址:http://www.cnblogs.com/xinzhiyu/p/6044130.html