Closed Dr-Shadow closed 1 week ago
Allow to not provide database argument so that this is a global privilege
While it is a global privilege (for now), you need to specify it explicitly in MySQL [1] and MariaDB [2] like *.*
. That means all databases and all tables.
While I'd somehow accept it for roles, I completely dislike it here. Empty DB is technically possible in both mentioned engines and that means the "current" DB. I wouldn't like to support that or to give any resemblance of supporting it as it would lead to confusion.
[1] https://dev.mysql.com/doc/refman/8.4/en/grant.html [2] https://mariadb.com/kb/en/grant/
You're right, I even realized that after trying again.
Thanks for your reply, it is perfect.
Provider version
MySQL version and settings
MariaDB 10.11
Terraform Configuration Files
Debug Output
Expected Behavior
Allow to not provide database argument so that this is a global privilege
References
Probably related to #69