mysql> stop slave;

Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql> change master to

master_host='10.10.4.10',master_port=3306,master_user='slave',master_password='123456',master_log_file='master-

bin.000001',master_log_pos=106;

ERROR 1201 (HY000): Could not initialize master info structure; more error messages can be found in the MySQL error log
mysql> quit
Bye
[root@localhost var]# tail /opt/var/localhost.localdomain.err
110906 17:56:05 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.35'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
110906 17:56:45 [ERROR] Failed to open the relay log './server1-relay-bin.005145' (relay_log_pos 4)
110906 17:56:45 [ERROR] Could not find target log during relay log initialization
110906 17:58:46 [ERROR] Failed to open the relay log './server1-relay-bin.005145' (relay_log_pos 4)
110906 17:58:46 [ERROR] Could not find target log during relay log initialization
110906 17:58:47 [ERROR] Failed to open the relay log './server1-relay-bin.005145' (relay_log_pos 4)
110906 17:58:47 [ERROR] Could not find target log during relay log initialization
110906 18:02:30 [ERROR] Failed to open the relay log './server1-relay-bin.005145' (relay_log_pos 4)
110906 18:02:30 [ERROR] Could not find target log during relay log initialization

mysql主从同步过程中出现的错误