1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Master Slave 复制错误
Slave_IO_Running:NO
Slave_SQL_Running:Yes
#在Slave库上查看状态
mysql> show slave status\G
Slave_IO_Running: No
Slave_SQL_Running: Yes
#重启master库:service mysqld restart
mysql> show master status;
+------------------+----------+--------------+------------------+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+------------------+----------+--------------+------------------+
| mysql-bin.000001 | 98 | | |
+------------------+----------+--------------+------------------+
mysql> slave stop;
mysql> change master to Master_Log_File=
'mysql-bin.000001'
,Master_Log_Pos=98;
mysql> slave start;
mysql> show slave status\G
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
|
MySQL Slave_IO_Running:NO解决办法
最新推荐文章于 2025-03-24 11:22:49 发布