修改 README 文件

This commit is contained in:
2022-04-15 09:11:59 +08:00
parent 5846e5be34
commit 2eaf643e21

View File

@@ -56,7 +56,8 @@ bash mysql80-yum-install.sh
1、首先查看初始化的密码。 1、首先查看初始化的密码。
```sh ```sh
cat /var/log/mysqld.log | grep 'temporary password' # 查看初始密码
cat /var/log/mysql/mysqld.log
``` ```
2、用初始密码登录 MySQL然后修改 root 的密码。 2、用初始密码登录 MySQL然后修改 root 的密码。