From 308d0398bdfa182612dced3f2f1c15f285cf5a77 Mon Sep 17 00:00:00 2001 From: "tonu@volk.internalnet" <> Date: Thu, 3 Jan 2002 16:15:05 +0200 Subject: [PATCH] Added missing text about existing feature in GRANT --- Docs/manual.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Docs/manual.texi b/Docs/manual.texi index 4dc3b089d3a..0e546b46de3 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -16120,7 +16120,7 @@ to restart @code{mysqld} with @code{--skip-grant-tables} to run @example GRANT priv_type [(column_list)] [, priv_type [(column_list)] ...] ON @{tbl_name | * | *.* | db_name.*@} - TO user_name [IDENTIFIED BY 'password'] + TO user_name [IDENTIFIED BY [PASSWORD] 'password'] [, user_name [IDENTIFIED BY 'password'] ...] [REQUIRE [@{SSL| X509@}] @@ -16266,6 +16266,9 @@ password will be set to the password specified by the @code{IDENTIFIED BY} clause, if one is given. If the user already had a password, it is replaced by the new one. +Optional @code{PASSWORD} changes behaviour of @code{IDENTIFIED BY} from +accepting plain password to accept encrypted password as argument. + @strong{Warning:} If you create a new user but do not specify an @code{IDENTIFIED BY} clause, the user has no password. This is insecure.