wiki:mysql_mariadb_troubleshooting
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wiki:mysql_mariadb_troubleshooting [2025/10/10 09:32] – add mariadb won't start 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 30: | Line 30: | ||
| ===== mariadb won't start ===== | ===== mariadb won't start ===== | ||
| If starting with '' | 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 38: | Line 55: | ||
| ====== References ====== | ====== References ====== | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
wiki/mysql_mariadb_troubleshooting.1760088776.txt.gz · Last modified: by antisa
