2022-01-30 15:28:48 +01:00
|
|
|
## Run a manual mysql_upgrade
|
|
|
|
|
|
|
|
This step is usually not necessary.
|
|
|
|
|
|
|
|
```
|
2022-06-23 15:17:00 +02:00
|
|
|
docker-compose stop mysql-mailcow watchdog-mailcow
|
|
|
|
docker-compose run --rm --entrypoint '/bin/sh -c "gosu mysql mysqld --skip-grant-tables & sleep 10 && bash && exit 0"' mysql-mailcow
|
2022-01-30 15:28:48 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
As soon as the SQL shell spawned, run `mysql_upgrade` and exit the container:
|
|
|
|
|
|
|
|
```
|
|
|
|
mysql_upgrade
|
|
|
|
exit
|
|
|
|
```
|