Mysql start slave error 1201 (HY000)

After MySQL replication is configured, an error is reported when starting slave as follows:

mysql> start slave;
ERROR 1201 (HY000): Could not initialize master info structure; more error messages can be found in the MySQL error log

Looking for it on the Internet, it turns out that there are two files to delete. It is estimated that it was generated yesterday when other people failed in the test.


Just delete it.

mysql> start slave;
Query OK, 0 rows affected (0.01 sec)


Refer to the following documents: 51d3553f0100j5m2.html

Read More: