首页 > 数据库技术 > 详细

centos7安装mysql

时间:2018-06-23 13:03:49      阅读:206      评论:0      收藏:0      [点我收藏+]
参考链接

CentOS7安装MySQL

安装

wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql57-community-release-el7-10.noarch.rpm
yum -y install mysql-community-server
systemctl start  mysqld.service
systemctl status mysqld.service
grep "password" /var/log/mysqld.log  # 查找密码
mysql -u root -p
ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘new password‘;
yum -y remove mysql57-community-release-el7-10.noarch

centos7安装mysql

原文:http://blog.51cto.com/9552815/2132013

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!