Skip to content

Upgrade from very old docker image #44

@andyinno

Description

@andyinno

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions