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

Upgrade from very old docker image #44

Open
andyinno opened this issue Feb 1, 2021 · 0 comments
Open

Upgrade from very old docker image #44

andyinno opened this issue Feb 1, 2021 · 0 comments

Comments

@andyinno
Copy link

andyinno commented Feb 1, 2021

I have a very old image that was installed using the :latest tag

I am trying to take it up to something more recent, however with all the tags that I found on docker hub I have this error message (version is different with different tags):

ERROR 3009 (HY000) at line 1: Column count of mysql.user is wrong. Expected 45, found 42. Created with MySQL 50554, now running 50724. Please use mysql_upgrade to fix this error.

I am unable to run the mysql_upgrade command inside the docker container because the image stops.

There is an easy way for recover this situation?
Question: shouldn't the mysql_upgrade taken into consideration when mysql version changes?

Thank you in advance

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