Upgrade MySQL for docker on windows

Hi

You need to upgrade your MySQL schema. Instructions are here:

You’ll need to adjust the command for your Windows-equivalent path.

MySQL should be listening on the socket - so I’d assume you’ve not got the path correct for your HyperV setup. I don’t use it so I can’t guide you directly I’m afraid.

It’d be something like

docker run --rm -ti -v c:\xibo\shared\db:/var/lib/mysql mysql:5.7 bash

Assuming your install is in c:\xibo.

Linux is case sensitive, so if you’ve got c:\Xibo then you’d need to use the correct case in the docker run command.

1 Like