Skip to content
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

MariaDB 10.6.18 release requires action #1517

Open
nikitasol opened this issue May 28, 2024 · 3 comments
Open

MariaDB 10.6.18 release requires action #1517

nikitasol opened this issue May 28, 2024 · 3 comments
Labels

Comments

@nikitasol
Copy link

Version

1.22.0

What did you expect to happen?

Seamless sync between production/staging and development

What actually happens?

MariaDB 10.6.18 adds sandbox comman as per release notes and the new line at the top of the db export breaks syncing.

Steps to reproduce

Just re-provision production/staging so the new MariaDB is installed there and then try exporting/importing db either through the amazing sync.sh or manually.

The line which is added is this:

/*!999999\- enable the sandbox mode */

System info

No response

Log output

No response

Please confirm this isn't a support request.

No

@nikitasol nikitasol added the bug label May 28, 2024
@retlehs
Copy link
Sponsor Member

retlehs commented May 28, 2024

MariaDB breaking database dumps in a patch release is wild 😞

Other relevant discussions/issues:

https://jira.mariadb.org/browse/MDEV-34183
ddev/ddev#6249
wp-cli/db-command#254

@nikitasol
Copy link
Author

Just to add a few possible solutions:

  • if you use sync.sh (or some other shell script) add tail -n +2 in between db export and db import so that the script may eliminate the first line (tested and works)
  • update vm to latest mariadb version (haven't tested yet, but should work)

@nikitasol
Copy link
Author

And to confirm that rebuilding vm with updated MariaDB also works too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants