日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

mysql 复制诊断_诊断Mysql复制问题

發(fā)布時(shí)間:2024/10/14 数据库 80 豆豆
生活随笔 收集整理的這篇文章主要介紹了 mysql 复制诊断_诊断Mysql复制问题 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

我們的備份服務(wù)器上運(yùn)行了一個(gè)

mysql復(fù)制客戶端.自上周停電以來,它已停止復(fù)制.在此之前,它連續(xù)幾個(gè)月沒有運(yùn)行.

我已經(jīng)嘗試重新啟動(dòng)主設(shè)備和從設(shè)備,但這沒有幫助.我可以從從服務(wù)器訪問主服務(wù)器,因此網(wǎng)絡(luò)不是問題.

還有什么我可以做的來嘗試診斷問題是什么嗎?

mysql> show slave status\G;

*************************** 1. row ***************************

Slave_IO_State:

Master_Host: master

Master_User: username

Master_Port: 3306

Connect_Retry: 60

Master_Log_File: mysql-bin.000060

Read_Master_Log_Pos: 46277494

Relay_Log_File: mysqld-relay-bin.000348

Relay_Log_Pos: 98

Relay_Master_Log_File: mysql-bin.000060

Slave_IO_Running: No

Slave_SQL_Running: Yes

Replicate_Do_DB:

Replicate_Ignore_DB:

Replicate_Do_Table:

Replicate_Ignore_Table:

Replicate_Wild_Do_Table:

Replicate_Wild_Ignore_Table:

Last_Errno: 0

Last_Error:

Skip_Counter: 0

Exec_Master_Log_Pos: 46277494

Relay_Log_Space: 98

Until_Condition: None

Until_Log_File:

Until_Log_Pos: 0

Master_SSL_Allowed: No

Master_SSL_CA_File:

Master_SSL_CA_Path:

Master_SSL_Cert:

Master_SSL_Cipher:

Master_SSL_Key:

Seconds_Behind_Master: NULL

1 row in set (0.00 sec)

ERROR:

No query specified

mysql> show master status\G;

*************************** 1. row ***************************

File: mysql-bin.000069

Position: 851796

Binlog_Do_DB:

Binlog_Ignore_DB:

1 row in set (0.00 sec)

ERROR:

No query specified

更新:錯(cuò)誤進(jìn)入daemon.log,而不是mysql.err,這可以解釋為什么我找不到它們.問題似乎是主人說日志不可用,這沒有多大意義,因?yàn)橹魅罩救匀豢梢允褂迷撊罩?和前一個(gè)日志).

090710 9:17:35 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.000060' at position 46277494, relay log './mysqld-relay-bin.000350' position: 98

090710 9:17:35 [Note] Slave I/O thread: connected to master 'username@master:3306', replication started in log 'mysql-bin.000060' at position 46277494

090710 9:17:35 [ERROR] Error reading packet from server: Client requested master to start replication from impossible position ( server_errno=1236)

090710 9:17:35 [ERROR] Got fatal error 1236: 'Client requested master to start replication from impossible position' from master when reading data from binary log

090710 9:17:35 [Note] Slave I/O thread exiting, read up to log 'mysql-bin.000060', position 46277494

總結(jié)

以上是生活随笔為你收集整理的mysql 复制诊断_诊断Mysql复制问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。