Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Former-commit-id: 7fa4c51
Former-commit-id: c9cc32b
  • Loading branch information
hstarorg committed Feb 18, 2019
1 parent 1b57cfd commit 0e54b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 运维&部署/Docker部署:Mysql Master-Slave.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ systemctl restart network

```sql
-- 允许使用native password
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '<root账户密码>';
-- 刷新授权表
flush privileges;
```

0 comments on commit 0e54b71

Please sign in to comment.