Commit 25df9d1f authored by unknown's avatar unknown

Added missing text about existing feature in GRANT

parent 213d66d9
...@@ -16120,7 +16120,7 @@ to restart @code{mysqld} with @code{--skip-grant-tables} to run ...@@ -16120,7 +16120,7 @@ to restart @code{mysqld} with @code{--skip-grant-tables} to run
@example @example
GRANT priv_type [(column_list)] [, priv_type [(column_list)] ...] GRANT priv_type [(column_list)] [, priv_type [(column_list)] ...]
ON @{tbl_name | * | *.* | db_name.*@} ON @{tbl_name | * | *.* | db_name.*@}
TO user_name [IDENTIFIED BY 'password'] TO user_name [IDENTIFIED BY [PASSWORD] 'password']
[, user_name [IDENTIFIED BY 'password'] ...] [, user_name [IDENTIFIED BY 'password'] ...]
[REQUIRE [REQUIRE
[@{SSL| X509@}] [@{SSL| X509@}]
...@@ -16266,6 +16266,9 @@ password will be set to the password specified by the @code{IDENTIFIED BY} ...@@ -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 clause, if one is given. If the user already had a password, it is replaced
by the new one. 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 @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. @code{IDENTIFIED BY} clause, the user has no password. This is insecure.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment