Main database/Slave database failed because of power outage
Posted: Mon Sep 12, 2022 8:36 am
After booting all servers, We got corrupted tables like the call_log and the vicidial_xfer_log on the main database but I fixed it using the repair table command.
but the problem is the slave, I'm getting this error when I executed this command show slave status\G;
Last_IO_Errno: 1236
Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'bogus data in log event; the first event 'mysql-bin.001718' at 302723624, the last event read from 'mysql-bin.001720' at 608178046, the last byte read from 'mysql-bin.001720' at 608178065.'
How can I resync or fix slave server without formatting it and setting up a slave server again.
I tried to reset/stop/start/restart the server and still doesn't fix it.
but the problem is the slave, I'm getting this error when I executed this command show slave status\G;
Last_IO_Errno: 1236
Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'bogus data in log event; the first event 'mysql-bin.001718' at 302723624, the last event read from 'mysql-bin.001720' at 608178046, the last byte read from 'mysql-bin.001720' at 608178065.'
How can I resync or fix slave server without formatting it and setting up a slave server again.
I tried to reset/stop/start/restart the server and still doesn't fix it.