show master status\G; grant replication slave on *.* to 'replication'@' 从库IP地址 ' identified by '********'; 'replication'--用户名 ********密码 show slave status\G; start slave;