MySQLã¬ããªã±ã¼ã·ã§ã³ã«ããã¦ãã¹ã¬ã¼ãããã¹ã¿ã¨ãã¦ãã§ã¤ã«ãªã¼ãã¼ãããæã« ãããã¨ããã£ããã¾ã¨ãã¦ã¿ãã ãã¹ã¿ã§ã¯é害çã«ããMySQLã¤ã³ã¹ã¿ã³ã¹ãåæ¢ãã¦ãããã¨ãåæã ãã¹ã¿1:ã¹ã¬ã¼ã1æ§æã®å ´å 1.ãã¹ã¿ã«ææ ¼ããã¹ã¬ã¼ãã«STOP SLAVEãçºè¡ã 2.ãã¹ã¿ã«ææ ¼ããã¹ã¬ã¼ãã«RESET MASTERãçºè¡ã 3.ã¹ã¬ã¼ãã«éæ ¼ãããã·ã³ã§CHANGE MASTER ãå®è¡ãã START SLAVEããã ããå°ã詳ããæ¸ãã¨ã 1.ã¹ã¬ã¼ãå´ã§IOã¹ã¬ããã§ã®ãã¤ããªãã°åã渡ããå®äºããé ãè¦è¨ãã£ã¦ã STOP SLAVE IO_THREAD ãçºè¡ã mysql > STOP SLAVE IO_THREAD; âHas read all relay logâã確èªã§ãã¾ãã¾ã§ãSHOW PROCESSLIST ã®åºåçµæããã§ãã¯ããã 2.ã¹
{{#tags}}- {{label}}
{{/tags}}