Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I revoke (grant drop on any table) from a user?

I have a user with privilege Drop on Any Table. I need to revoke that. They only should have drop privileges on their own tablespace.

My setup is three schemas, production, reporting and ETL transfers if that makes any difference.

like image 220
angrysqlbird Avatar asked Dec 31 '25 11:12

angrysqlbird


1 Answers

Try

REVOKE DROP ANY TABLE FROM X
like image 79
vc 74 Avatar answered Jan 03 '26 15:01

vc 74



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!