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

Migration documentation incomplete #207

Open
kingprimex opened this issue Mar 26, 2018 · 5 comments
Open

Migration documentation incomplete #207

kingprimex opened this issue Mar 26, 2018 · 5 comments
Assignees

Comments

@kingprimex
Copy link

Where it is specified $ mysqldump -u root -p --skip-create-options --all-databases > migration.sql should also be a note that this export can break everything in the new database. For example, if you have any fields as PK with auto_increment, that would not be imported correctly. There could be a lot of extra infos from the db that would not be copied to the galera cluser. IMO the preferred way to export from MyISAM to INNODB would be a normal export and manually change the ENGINE. Cheers.

@kirjaamo
Copy link
Collaborator

Can I fix this by adding the note below to Migrating to Galera Cluster -> Data Migration, where the command above is mentioned:

Note!
If the migration does not correctly import all data, you can try to export the data and manually change the database engine.

@byte
Copy link
Contributor

byte commented Sep 16, 2021

@kirjaamo where do we specify this? esp. the "--skip-create-options" ? do we even have a document re: migrating from myisam to innodb? can i read the whole thing in context?

@byte byte assigned kirjaamo and unassigned byte Sep 16, 2021
@kirjaamo
Copy link
Collaborator

But we do not have a document re: migrating from myisam to innodb

@kirjaamo
Copy link
Collaborator

@byte You are right, we do not have a document re: migrating from myisam to innodb. Can I use the link below to create that?

https://support.severalnines.com/hc/en-us/articles/212426983-Migrate-MyISAM-tables-to-INNODB-using-mysqldump

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

3 participants