Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL)
-
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.