MySQL error: Slave_SQL_Running: No and solutions

MySQL:Slave_SQL_Running: No

Error

Insert picture description here

Solution

method one

1. First look at the master server, check the location point
Insert picture description here
2. On the slave server

mysql> change master to master_host='20.0.0.51',master_user='myslave',master_password='123456',master_log_file='master-bin.000001',master_log_pos=1538;		'根据自己主服务器的名字,密码,二进制日志以及位置点来改动'

Insert picture description here

Method Two

Configure from the server

mysql> slave stop;
mysql> SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1; START SLAVE;
mysql> slave start;

Guess you like

Origin blog.csdn.net/m0_47219942/article/details/108255587