修改 README 文件
This commit is contained in:
@@ -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 的密码。
|
||||||
|
Reference in New Issue
Block a user