From 0e54b7123b0ed0d21fff59d8b33ce48e971c460d Mon Sep 17 00:00:00 2001 From: Hstarorg Date: Tue, 19 Feb 2019 01:06:16 +0800 Subject: [PATCH] update Former-commit-id: 7fa4c51ed1c071bc12321dfaf1d6a89c8edecfc9 Former-commit-id: c9cc32be405cd3b12a67f0e391c072f697c0c188 --- ...er\351\203\250\347\275\262\357\274\232Mysql Master-Slave.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/\350\277\220\347\273\264&\351\203\250\347\275\262/Docker\351\203\250\347\275\262\357\274\232Mysql Master-Slave.md" "b/\350\277\220\347\273\264&\351\203\250\347\275\262/Docker\351\203\250\347\275\262\357\274\232Mysql Master-Slave.md" index d956e6b..e74fe0a 100644 --- "a/\350\277\220\347\273\264&\351\203\250\347\275\262/Docker\351\203\250\347\275\262\357\274\232Mysql Master-Slave.md" +++ "b/\350\277\220\347\273\264&\351\203\250\347\275\262/Docker\351\203\250\347\275\262\357\274\232Mysql Master-Slave.md" @@ -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 ''; -- 刷新授权表 flush privileges; ```