参考自:https://blog.csdn.net/lzj0470/article/details/42713463
执行下列命令时
change master to master_host='135.242.xx,xx', MASTER_USER='root', MASTER_PASSWORD='12345', MASTER_LOG_FILE='binlog.000001', MASTER_LOG_POS=848;
抛出
ERROR 1201 (HY000): Could not initialize master info structure for ''; more error messages can be found in the MariaDB error log
解决方法
stop slave;
reset slave;