Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
10.2.0-1, 10.2.0-2, 10.2.0-4, 10.2.0-5, 10.2.0-6, 10.2.0-7
Description
MySQL 5.7 has extended CREATE/ALTER USER syntax to make a better distinction between privilege management (GRANT/REVOKE) and account management (clauses like IDENTIFIED, REQUIRE SSL, MAX_QUERIES_PER_HOUR, etc). And there's SHOW CREATE USER.
We should support this syntax too.
Don't forget consistent use of IF [NOT] EXISTS
Attachments
Issue Links
- relates to
-
MDEV-11180 CREATE USER .. IDENTIFIED WITH .. BY .. is not supported
-
- Closed
-
-
MDEV-11181 Resource option MAX_USER_CONNECTIONS in CREATE USER is limited by 2**32
-
- Open
-
Hi Sergei,
I've updated the CREATE/ALTER USER syntax to work according to MySQL's. Can you please review the changes related to this MDEV? I've sent the patch on the mailing list.
I initially tried an approach that involved a bit of refactoring. After figuring out that it is not really worth it right now, I came up with the easier implementation just calling replace_user_table.