# Upgrade MySQL for docker on windows

**URL:** https://community.xibo.org.uk/t/upgrade-mysql-for-docker-on-windows/26727
**Category:** CMS Installation
**Created:** [February 15, 2022, 11:08am UTC](https://community.xibo.org.uk/t/upgrade-mysql-for-docker-on-windows/26727 "2022-02-15T11:08:17Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)
#### Post date: [February 15, 2022, 11:21am UTC](https://community.xibo.org.uk/t/upgrade-mysql-for-docker-on-windows/26727/2 "2022-02-15T11:21:02Z")

</div>

Hi

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

> [@Xibo CMS 2.3.10 Released](https://community.xibo.org.uk/t/xibo-cms-2-3-10-released/24844/2):
>
> If you’re upgrading from an earlier version to 2.3.10, the version of MySQL bundled changes from 5.6 to 5.7 as 5.6 is now end of life. You will therefore need to do some extra work to handle the MySQL 5.6-5.7 migration. We will shortly update the official documentation to cover this, but in the interim, please use the following process. In all the steps below, please add the -f cms\_custom-ports.yml flag as normal if you are using those templates instead of the standard files (eg docker-compose…

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

```auto
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.

---

_[View the full topic](https://community.xibo.org.uk/t/upgrade-mysql-for-docker-on-windows/26727)._
