-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
GLOBAL.GTID_PURGED and SESSION.SQL_LOG_BIN related SETs in Database Dump Will Cause Db Import to Fail #162
Comments
This change appears to have caused issues with database imports. At least two different individuals (and myself!) have run into the following errors:
Why this is occurring, I'm not entirely sure, but as I've never seen it prior to this being introduced this will be reverted in 0.5.3 release. |
I finally figured out what caused the failures when importing databases running through grep; the magical binary file detection grep has. Grep has the following special flag which seems to resolve this issue:
The issue is because grep is switching to binary mode half way through filtering the piped data, and is echoing Alternate solution is to use
This solution of using sed is the one I plan to implement. |
Databases coming from Aurora RDS frequently have GTID related SETs which cause problems when importing into a local non-replicated MariaDB container:
The errors these will cause looks like the following:
The text was updated successfully, but these errors were encountered: