modify slave my.cnf before change master