Updated MySQL replication to work on first setup run