もともと何故か、「4.0から上げるならまずは5.0まで上げて、あとはまあラクチン」とか記憶にあったんですが
@yoku0825 なぜそこで5.0で止まる。。。
— R.Kajiyama 旅芸人onミカン箱 (@RKajiyama) 2014, 9月 8
そそのかされるがままに5.5, 5.1を試したらレプリケーションがぶら下がらなかった。
sys-backup19 [(none)]> show slave status\G
*************************** 1. row ***************************
Slave_IO_State:
Master_Host: xxx.xxx.xxx.xxx
Master_User: xxxxxxx
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: xxxx-bin.986
Read_Master_Log_Pos: 616810342
Relay_Log_File: mysql-relay.000001
Relay_Log_Pos: 4
Relay_Master_Log_File: xxxx-bin.986
Slave_IO_Running: No
Slave_SQL_Running: No
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: 616810342
Relay_Log_Space: 106
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
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 1193
Last_IO_Error: The slave I/O thread stops because a fatal error is encountered when it try to get the value of TIME_ZONE global variable from master. Error: Unknown system variable 'TIME_ZONE'
Last_SQL_Errno: 0
Last_SQL_Error:
1 row in set (0.00 sec)
この理由だけなら、4.1.3以降からなら一気に5.1以降にいけそうでもある。
http://dev.mysql.com/doc/refman/4.1/en/time-zone-support.html
憶えておくためのメモ。
0 件のコメント :
コメントを投稿