CentOS下安裝配置MySQL8.0的步驟詳解

下載yum源的安裝包 mysql

yum localinstall https://repo.mysql.com//mysql80-community-release-el7-1.noarch.rpm

安裝sql

yum install mysql-community-server

啓動服務3d

service mysqld start

查看狀態code

service mysqld status

查看初始密碼server

grep 'temporary password' /var/log/mysqld.log

相關文章
相關標籤/搜索