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

Option to run mysql_update on existing datadir #85

Closed
mulcek opened this issue Oct 16, 2016 · 1 comment
Closed

Option to run mysql_update on existing datadir #85

mulcek opened this issue Oct 16, 2016 · 1 comment

Comments

@mulcek
Copy link

mulcek commented Oct 16, 2016

Hi,
I'm trying to migrate from MySQL to MariaDB 10.1 and I see there is no mysql_update procedure before mysqld starts inside docker-entrypoint.sh. It would be great if it was somehow passed as an option and it would run when requested. Or perhaps on every start.

@mulcek
Copy link
Author

mulcek commented Oct 24, 2016

I have approached this differently. I have created my own docker file that inherits mariadb:10.1 docker file with my custom docker-entrypoint.sh that does upgrade. Service is run once before db service is up. I will close this ticket as it would complicate original mariadb image.

@mulcek mulcek closed this as completed Oct 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant