Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.1, 10.2, 10.3, 10.4
-
None
Description
MariaDB [(none)]> show grants;
|
+---------------------------------------+ |
| Grants for u@localhost | |
+---------------------------------------+ |
| GRANT USAGE ON *.* TO `u`@`localhost` | |
+---------------------------------------+ |
1 row in set (0.000 sec) |
 |
MariaDB [(none)]> stop slave;
|
ERROR 1045 (28000): Access denied for user 'u'@'localhost' (using password: NO) |
MariaDB [(none)]> stop all slaves; |
Query OK, 0 rows affected (0.000 sec) |
Same with start all slaves.
The commands don't actually do anything if the user is unprivileged, so there is no security problem, but I suppose they should be returning the error rather than silently do nothing.