CentOS yum 安装 mysql
时间:2018-08-05 10:11:06
收藏:0
阅读:147
1# wget https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
2# rpm -ivh mysql80-community-release-el7-1.noarch.rpm
3# yum install mysql-server -y
4# service mysqld start
5# grep "temporary password" /var/log/mysqld.log
6# mysql -u root -p
7# alter user ‘root‘@‘localhost‘ indentified by ‘新密码‘;
#参考资料
官网:https://dev.mysql.com/downloads/file/?id=477146
个人博客:https://www.xingchenw.cn/article/179
原文:https://www.cnblogs.com/higreen/p/9424495.html
评论(0)