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 mysqldump file is not fully compatible with Azure Database for MySQL while restoring #35

Open
serefacet opened this issue Apr 26, 2022 · 0 comments

Comments

@serefacet
Copy link

Hey team,

The script uses "schnitzler/mysqldump" image in order to create myqldump from Azure Database for MySQL however this image uses MariaDB Ver 10.17 Distrib 10.3.15-MariaDB, for Linux (x86_64) under the hood.

Due to this reason, there may be some problems during restoring DB from the generated dump file such as restoring generated column. MySQL 8.x doesn't allow input for generated column except DEFAULT. However, MariaDB mysqldump prepares INSERT statements with data. Then, we face the the following error.

ERROR 3105 (HY000) at line XXX: The value specified for generated column 'XXX' in table 'XXX' is not allowed.

Maybe, it would be good to mention these details.

@serefacet serefacet changed the title MariaDB mysqldump is not fully compatible while restoring MariaDB mysqldump is not fully compatible with Azure Database for MySQL while restoring Apr 26, 2022
@serefacet serefacet changed the title MariaDB mysqldump is not fully compatible with Azure Database for MySQL while restoring MariaDB mysqldump file is not fully compatible with Azure Database for MySQL while restoring Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant