-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dumping events requires SUPER on certain databases #267
Comments
Hi @utdrmac ,
and when I execute the show events:
which doesn't mention anything about SUPER privileges. |
@maxbube This was on a node of PXC8 |
I found out what is the issue, but it is not related to the db version and I'm still not getting the SUPER privilege error (I'm getting an access denied). Mydumper is getting the list of schemas with SHOW DATABASES, but with this privileges:
you will get this list:
Then, when it checks if they have events it does get a similar output to:
which is what we are seeing in the log. I'm thinking that some possible solutions is that -B could receive a list of databases which avoids the execution of SHOW DATABASES. |
This is related to #454 |
We workaround this kind of scenarios. Now, you can use -B to filter the databases and use regex just to filter out tables. |
If you remove
-E
, no errors regarding SUPER are produced.mydumper should A) abort when such messages regarding access happen, B) update documentation to mention dumping events requires SUPER
The text was updated successfully, but these errors were encountered: