change master to master_host='localhost',master_user='slave',master_password='123456',master_log_file='mysql-bin.000001',master_log_pos=0,master_port=3306;mysql
如今因爲業務的須要,不須要這臺Slave同步複製Master,那麼採用reset slave時,你會發現同步信息還存在,如: sql
stop slave;
reset slave;
reset slave allspa
ok徹底清除code