2022-01-30 15:28:48 +01:00
|
|
|
## FĂĽhren Sie ein manuelles mysql_upgrade durch.
|
|
|
|
|
|
|
|
Dieser Schritt ist normalerweise nicht notwendig.
|
|
|
|
|
2023-01-13 18:16:08 +01:00
|
|
|
=== "docker compose (Plugin)"
|
|
|
|
|
|
|
|
``` bash
|
|
|
|
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
|
|
|
|
```
|
|
|
|
|
|
|
|
=== "docker-compose (Standalone)"
|
|
|
|
|
|
|
|
``` bash
|
|
|
|
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
|
|
|
|
|
|
|
Sobald die SQL-Shell gestartet wurde, fĂĽhren Sie `mysql_upgrade` aus und verlassen den Container:
|
|
|
|
|
|
|
|
```
|
|
|
|
mysql_upgrade
|
|
|
|
exit
|
|
|
|
```
|