Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1562

MySQL 5.5 replication (3 replies)

$
0
0
Hi

I have master master replication running. Somehow I dont know how the slaves have got out of sync. Would be easier to diagnose what was happening if i turned off slave skip errors and used semi-sync replication?

Thx

I see this in the log and replicastion has stopped, does this give any clue?

*************************** 14. row ***************************
Id: 139
User: system user
Host:
db: MYDB
Command: Connect
Time: 626759
State: Waiting for table metadata lock
Info: create table Event( ID INTEGER NOT NULL, TEXT varchar(200), CATEGORY varchar(100), DDOMAIN v
*************************** 15. row ***************************

config is:-

server-id = 1
#replication
binlog-do-db=MYDB
binlog-ignore-db=test
binlog-ignore-db=MySQL
binlog-ignore-db=information-schema
#information for becoming slave.
vmaster-port = 25000
auto_increment_increment=2
auto_increment_offset=1
#skip_networking
# Uncomment the following if you want to log updates
log-bin=mysql-mydb-bin
slave-skip-errors = all


#replication
Server-id=2
binlog-do-db=ESMDB
binlog-ignore-db=test
binlog-ignore-db=MySQL
binlog-ignore-db=information-schema
#information for becoming slave.
master-port = 25000
auto_increment_increment=2
auto_increment_offset=2
#skip_networking

Thanks

Viewing all articles
Browse latest Browse all 1562

Trending Articles



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