mysql_upgrade
Dieser Commit ist enthalten in:
Ursprung
837ce2b0d7
Commit
ef833d9af2
2 geänderte Dateien mit 18 neuen und 1 gelöschten Zeilen
16
docs/debug-mysql_upgrade.md
Normale Datei
16
docs/debug-mysql_upgrade.md
Normale Datei
|
@ -0,0 +1,16 @@
|
|||
## 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
|
||||
```
|
||||
|
|
@ -45,7 +45,8 @@ nav:
|
|||
- 'Introduction': debug.md
|
||||
- 'Logs': 'debug-logs.md'
|
||||
- 'Attach a Container': 'debug-attach_service.md'
|
||||
- 'Reset Passwords': 'debug-reset_pw.md'
|
||||
- 'Reset Passwords (incl. SQL)': 'debug-reset_pw.md'
|
||||
- 'Manual MySQL upgrade': 'debug-mysql_upgrade.md'
|
||||
- 'Remove Persistent Data': 'debug-rm_volumes.md'
|
||||
- 'Common Problems': 'debug-common_problems.md'
|
||||
- 'Admin login to SOGo': 'debug-admin_login_sogo.md'
|
||||
|
|
Laden …
In neuem Issue referenzieren