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

CentOS yum 安裝 mysql

load star var art ont target mysq lease mysql-

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

CentOS yum 安裝 mysql