wiki:mysql_mariadb_troubleshooting
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:mysql_mariadb_troubleshooting [2021/04/29 14:35] – created antisa | wiki:mysql_mariadb_troubleshooting [2026/01/16 10:58] (current) – add master replication from impossible position antisa | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | + | {{tag> |
| ====== mysql/ | ====== mysql/ | ||
| Line 27: | Line 27: | ||
| If running a container in Proxmox you can also enable Nesting from web gui container > Options > Edit > Features > Nesting | If running a container in Proxmox you can also enable Nesting from web gui container > Options > Edit > Features > Nesting | ||
| + | |||
| + | ===== mariadb won't start ===== | ||
| + | If starting with '' | ||
| + | |||
| + | |||
| + | ===== [ERROR] Error reading packet from server: Client requested master to start replication from impossible position ( server_errno=1236) | ||
| + | |||
| + | replication from impossible position; the first event ' | ||
| + | |||
| + | Happened when master server crashed. The error above showed on slave. Solution is to start replication from the next binlog file after the one in error above. | ||
| + | |||
| + | First stop slave: | ||
| + | |||
| + | MariaDB [(none)]> | ||
| + | |||
| + | Change binlog and start slave: | ||
| + | |||
| + | MariaDB [(none)]> | ||
| + | MariaDB [(none)]> | ||
| + | MariaDB [(none)]> | ||
| ====== Tested on ====== | ====== Tested on ====== | ||
| Line 34: | Line 54: | ||
| ====== References ====== | ====== References ====== | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
wiki/mysql_mariadb_troubleshooting.1619706943.txt.gz · Last modified: by antisa
