Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Not a Bug
-
Affects Version/s: 10.1.2
-
Fix Version/s: N/A
-
Component/s: Documentation
-
Labels:None
-
Environment:fedora 20
Description
I have a stored procedure that I want all my users to be able to execute, without having to assign the privilege individually, since they are hundreds.
So I found in the manual this statement
GRANT EXECUTE ON PROCEDURE MariaDBProc TO '*'@'localhost';
http://www.techonthenet.com/mariadb/grant_revoke.php
In old mysql, they say to use
GRANT EXECUTE ON PROCEDURE MariaDBProc TO ''@'localhost';
I actually use
GRANT EXECUTE ON PROCEDURE MariaDBProc TO '*'@'%';
or
GRANT EXECUTE ON PROCEDURE MariaDBProc TO ''@'';
but neither statement makes my users to execute the stored procedure.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Hi,
MariaDB has never supported this syntax (and neither has MySQL). It's a 3rd-party manual, it's wrong.
For the variant ''@'localhost', it is supported but it has somewhat different semantics. It's not a wildcard for any user; it's an anonymous user. Users which have actual named accounts in your system won't match it.