1

Is it possible to allow a user to only drop tables and views that he/she created in MySQL? How is this achieved?

2
  • Did you in fact observe that a non-root user could drop tables and views created by other users?
    – mustaccio
    Commented Jan 20, 2021 at 18:03
  • No. I haven't tried dropping tables / views I didn't create. If I have drop privileges but I am not a root user, does this mean I can only drop tables I create? Commented Jan 20, 2021 at 18:09

1 Answer 1

0

I'd create a dedicated MySQL instance per user (with docker for example) and let them do whatever they want. Your situation maybe different, of course, I'm just sharing an idea.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.