Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4.15
-
None
Description
MariaDB [(none)]> show create user 'mariadb.sys'@'localhost';
|
+--------------------------------------------------------------------+
|
| CREATE USER for mariadb.sys@localhost |
|
+--------------------------------------------------------------------+
|
| CREATE USER `mariadb.sys`@`localhost` PASSWORD EXPIRE ACCOUNT LOCK |
|
+--------------------------------------------------------------------+
|
1 row in set (0.000 sec)
|
|
MariaDB [(none)]> CREATE USER `mariadb.sys`@`localhost` PASSWORD EXPIRE ACCOUNT LOCK;
|
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ACCOUNT LOCK' at line 1
|
potential solutions:
a) change the syntax parser of CREATE USER/ALTER USER to accept both password expiry and account lock
or
b) SHOW CREATE USER outputs
{password expire option}CREATE USER ..
.
{account lock option}ALTER USER ...