Hi i'm hoping someone can help with this error. I'...
# kolide
a
Hi i'm hoping someone can help with this error. I'm trying to migrate mysql from 5.7 to 8. doing DB migrations i'm getting this error
Copy code
FAIL 20171116163618_CreateTableOsqueryOptions.go (migrate options: retrieving decorators: missing destination name created_at in *[]*tables.decorator), quitting migration.
z
What version of Fleet are you running
fleet version --full
?
a
Copy code
fleet - version 3.2.0
  branch: 	master
  revision: 	07534c766beb7bf9a022d29572d88493ecef8f7c
  build date: 	2020-10-08T19:24:59Z
  build user: 	zwass
  go version: 	go1.15
z
Is this a fresh install or an upgrade of an existing install?
a
upgrading from an existing install
z
Fleet version and MySQL version are changing at the same time?
a
correct
i'd wipe it with a fresh install but i'm trying to not lose my data
z
Yeah, that makes sense
Never seen someone end up in this state before. I think you may resolve it with
alter table decorators drop column created_at
. That data is going to be dropped in the migration anyway.
What version are you upgrading from? I wonder if I can reproduce this issue by starting at that version.
a
fleet version 1.0.7-1 to latest Percona-Server-server-57.x86_64 5.7.20-19.1.el7 to percona-server-server.x86_64 8.0.21-12.2.el7
It’s percona MySQL server package. I’m going from the above ^
(yeah really old trying to salvage this stack lol)
z
Ha yeah quite dated! Let me know how the alter table goes.
a
I also dropped the column
updated_at
and migrations completed