-
Notifications
You must be signed in to change notification settings - Fork 22
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
Include --no-tablespaces option by default in db-export #260
Comments
I'm not familiar with this at all. |
I'm not familiar with this problem, but I found this helpful article that summarizes the situation: https://anothercoffee.net/how-to-fix-the-mysqldump-access-denied-process-privilege-error/ |
@quicksketch - yes - that's the one I've been looking at. I can't think of any reason not to do this. |
As far as my understanding goes, this seems like a safe thing to do as the default. Could we come up with a way to override it, in the event that tablespaces are needed for some situations? Maybe we could do something where if any |
Further checking in the article does suggest that as
I can't find any information that suggests Mariadb needs this privilege (or if so, from what version) and I never encountered it before my host moved to MySQL. Looking in lando for mariadb (10.3 - default), |
PR added if anyone wants to test. If not, I'll merge. |
Sorry, not a big help here, as I have MariaDB in all testing environments. The only thing I can test: things still work fine with MariaDB (but they also do without patch). |
Not breaking MariaDb is a good result! |
--no-tablespaces
is needed inmysqldump
for versions of MySQL from 5.7.31 and 8.0.21 unless the user (which will be the backdrop database user) has thePROCESS
privilege, which is not available on cPanel based hosting and possibly others.Therefore, we should include this by default within the
db-export
command.It is supported by MariaDB from version 10.2.
We could provide an option to not include this option this if there was a need for it.
(Note, we currently have an option to add this option in via the
extra
option:Any thoughts @BWPanda @indigoxela @ElusiveMind @quicksketch @jenlampton @herbdool @klonos
Tagging a number of people who have engaged with the issue queue lately
The text was updated successfully, but these errors were encountered: