From 4258bf6986f7883637b0f9bbc38e70baad3d2a82 Mon Sep 17 00:00:00 2001 From: btatu Date: Wed, 2 Aug 2017 15:55:38 +0200 Subject: [PATCH] add tips for update user's passwd --- HowtoMySQL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/HowtoMySQL.md b/HowtoMySQL.md index cb709a67..c60e90dc 100644 --- a/HowtoMySQL.md +++ b/HowtoMySQL.md @@ -543,6 +543,7 @@ mysql> select * from INFORMATION_SCHEMA.routines; ~~~{.sql} mysql> SET PASSWORD FOR 'jdoe'@'localhost' = PASSWORD('PASSWORD'); +MariaDB [(none)]> GRANT USAGE ON *.* TO 'jdoe'@'%' IDENTIFIED BY "passwd"; ~~~ Par rapport à un autre utilisateur :