mailcow-dockerized-docs/docs/troubleshooting/debug-mysql_upgrade.en.md
Niklas Meyer 5c1c263e46 Revert "Compose v2"
This reverts commit 423f24f6f2.
2022-06-01 15:39:27 +02:00

367 B

Run a manual mysql_upgrade

This step is usually not necessary.

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

As soon as the SQL shell spawned, run mysql_upgrade and exit the container:

mysql_upgrade
exit