CREATE/ALTER USER as in 5.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

Environment

None

Status

Assignee

Vicențiu Ciorbaru

Reporter

Sergei Golubchik

Labels

None

External issue ID

None

External issue ID

None

Time tracking

80h

Sprint

Fix versions

Priority

Major