Skip to content

Strategy for upgrading MySQL 5.7 to 8.0? #330

@ocdtrekkie

Description

@ocdtrekkie

So, I am looking at upgrading to bullseye64. I know it works for the lemp stack because I'm building an app with it, but the issue is upgrade-friendliness. Oracle offered 5.7 for Jessie, Stretch, and Buster, however, they are only offering MySQL 8.0 for Bullseye.

https://dev.mysql.com/blog-archive/inplace-upgrade-from-mysql-5-7-to-mysql-8-0/ says you can just start MySQL 8.0 on a 5.7 data directory, but I believe that is "assuming everything is healthy", which is not a good assumption for Sandstorm grains which we arbitrarily kill. (I am half-tempted to just PR updating everything, but I thought about it, and realized @zenhack would rightfully call me out on this one on review.)

The lemp and uwsgi stacks would both need a solution for this before we upgrade to Bullseye by default, and I am wondering if we can/should use the Nix solution used for TTRSS in general. I hate putting a TON of excess into stacks that may be used for greenfield projects, but maybe we could leave instructions to comment it out for new packages? (Or leave it commented out, and suggest people using upgradevm uncomment it?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions