Critical severityconfiguration
Power BI Refresh Error:
1594
What does this error mean?
The MySQL replica could not read its relay log — the relay log may be corrupted or missing.
Common causes
- 1Relay log file was corrupted due to a disk error or server crash during write
- 2Relay log index file is out of sync with the actual relay log files on disk
- 3MySQL replica server was uncleanly shut down, leaving relay logs in an inconsistent state
How to fix it
- 1Step 1: Stop the replica: `STOP SLAVE;`
- 2Step 2: Reset the relay log: `RESET SLAVE;` (this deletes all relay logs — the replica will re-fetch from the primary).
- 3Step 3: Re-point to the primary and restart: `CHANGE MASTER TO MASTER_HOST='primary_host', MASTER_LOG_FILE='...', MASTER_LOG_POS=...; START SLAVE;`
- 4Step 4: Enable relay log recovery: add `relay_log_recovery=ON` to my.cnf to automatically recover from relay log corruption on restart.
Frequently asked questions
Official documentation: https://dev.mysql.com/doc/mysql-errors/8.0/en/server-error-reference.html