-
Notifications
You must be signed in to change notification settings - Fork 104
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
Added CONFIG_mysql_dump_tablespaces option to handle breaking change in MySQL 5.7.31 and 8.0.21 #51
base: master
Are you sure you want to change the base?
Conversation
…dump option '--no-tablespaces' if set to 'no'; otherwise the user requires PROCESS privileges.
Thanks for adding this! I've added these changes but I'm still seeing the error What is interesting is if I set CONFIG_mysql_dump_tablespaces to yes, I get two instances of the error instead of one. Not sure why that is happening. Maybe there is another place in the script where this needs to be applied? |
Hey @kimonostereo, I'm seeing the two instances of the error as well. Were you able to find a solution? |
Hey there @nathanhoeller! No I did not. I've taken to just living with this error. If you ever figure it out, please let me know! |
Hello I also see this error: mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces I am running #version=3.0_rc2 Any one have a clue how to resolve it? The DBs are still actually being dumped, so perhaps we have to simply ignore this error ? SOLVED: see my note in post below #51 (comment) |
Hi @solaceten! I run into the exact same issue, but I have no clue on how to resolve it. I've been ignoring it for a long time. |
You might want to look into this repository which I believe is an updated version. I did a complete reinstall and had to tweak the settings here and there, but it is more up to date script and it works with MySql V8 https://github.com/belgotux/automysqlbackup Credit to @belgotux |
Added CONFIG_mysql_dump_tablespaces (default 'yes'). When set to 'no' it adds the option
--no-tablespaces
to the invocation of mysqldump. The default behaviour remains unchanged.As a breaking change in MySQL 5.7.31 and 8.0.21, mysqldump now requires the PROCESS privilege to access tablespace information. If no tablespace information is needed,
--no-tablespaces
can be added to the mysqldump invocation to lower the privileges required by the mysqldump user.