红框前5个不用写在cnf中。
这个是在命令行中打命令
change master to master_host='10.46.20.97',master_user='root',master_password='1',master_auto_position=1;