Skip to content

Commit 676cd4c

Browse files
committed
2018-06-02
1 parent 3a0cf88 commit 676cd4c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

markdown-file/WordPress-Install-And-Settings.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ systemctl restart mysqld.service
5858
- `UPDATE user SET authentication_string=PASSWORD('新密码') where USER='root';FLUSH PRIVILEGES;`
5959
- `GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '上一步的新密码' WITH GRANT OPTION;`
6060
- `systemctl restart mysqld.service`
61-
- 试一下:`mysql -h localhost -u root -p`
62-
- 然后输入密码,输入:`select 1;`
61+
- 试一下:`mysql -h localhost -u root -p` 然后输入密码,在 MySQL 终端输入:`select 1;`
6362
- 如果报:`You must reset your password using ALTER USER statement before executing this statement`
6463
- `set password = password('新密码');`
6564

0 commit comments

Comments
 (0)