We have a role with all these permissions.
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER ON db.* to rolea
As soon as i grant ‘lock tables’ to the role it no longer displays individual roles after executing show grants. It now simply says grant all privs
GRANT ALL PRIVILEGES ON db.* to rolea
Any idea why?
±----------+
| @@version |
±----------+
| 8.0.21-12 |
±----------+