master
grant replication slave on *.* to 'slave'@'192.168.1.%' identified by '123456';
flush privileges;
flush tables with read lock;
show master status;

slave
change master to master_host='192.168.1.202',
master_user='slave',
master_password='123456',
master_log_file='binlog.000002',
master_log_pos=697;

master
unlock tables;

salve
start slave;
show slave status\G;