Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

MYSQL - Fatal error 1236

$
0
0

Im a beginner getting started with MYSQL replication.

I have a very basic test environment with 2 MYSQL servers setup as master to master status (Ubuntu16-1, Ubuntu16-2). After some time I rebooted both vms. Their IPs changed so I needed to reapply the change master statement. Started with applying the change master statement on VM 1 and once that statement was executed I started the slave on that server. Check status returned the following error:

Got fatal error 1236 from master when reading data from binary log: 'binlog truncated in the middle of event; consider out of disk space on master; the first event 'mysql-bin.000006' at 15, the last event read from '/var/log/mysql/mysql-bin.000006' at 123, the last byte read from '/var/log/mysql/mysql-bin.000006' at 34.

I understand that having dhcp ips is not ideal (especially in a MYSQL replication environment), however this is a test environment and I'd like to learn from this mistake. Could someone help me with explaining the error and how to solve it please ?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>