Script to test MySQL replication