Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
None
-
10.2.6-2, 10.2.6-3, 10.3.1-1
Description
According to MDEV-7978, 5.7 account management syntax related to IDENTIFIED clause should be supported. The following variation is not:
CREATE USER ... IDENTIFIED WITH ... BY ... |
10.2 |
MariaDB [test]> create user foo@localhost identified with 'auth_socket' by 'abc'; |
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 'by 'abc'' at line 1 |
MariaDB [test]> select @@version; |
+----------------------+ |
| @@version |
|
+----------------------+ |
| 10.2.3-MariaDB-debug |
|
+----------------------+ |
1 row in set (0.00 sec) |
MySQL 5.7 |
MySQL [test]> create user foo@localhost identified with 'auth_socket' by 'abc';Query OK, 0 rows affected (0.00 sec) |
 |
MySQL [test]> select @@version; |
+--------------+ |
| @@version |
|
+--------------+ |
| 5.7.16-debug |
|
+--------------+ |
1 row in set (0.00 sec) |
I'm not sure if it is supposed to work, but it's worth checking.
Attachments
Issue Links
- relates to
-
MDEV-7978 CREATE/ALTER USER as in 5.7
- Closed
-
MDEV-12321 authentication plugin: SET PASSWORD support
- Closed