{"id":153,"date":"2007-10-05T17:09:00","date_gmt":"2007-10-05T17:09:00","guid":{"rendered":"http:\/\/blog.trungson.com\/?p=153"},"modified":"2007-10-05T17:09:00","modified_gmt":"2007-10-05T17:09:00","slug":"mysql-upgrade-breaks-replication","status":"publish","type":"post","link":"http:\/\/blog.trungson.com\/?p=153","title":{"rendered":"MySQL upgrade breaks replication"},"content":{"rendered":"<p>Upgrade from 4.1.x and 5.0.22 to 5.0.42 and going forward (5.0.46, 5.0.48) in CentOS breaks replication. The error log now placed as \/var\/run\/mysqld\/mysqld.err instead of into the default datadir and the name is mysqld.err instead of <hostname>.err, is it a MySQL bug?<\/p>\n<p>\nmysql> start slave;<br \/>\nERROR 1201 (HY000): Could not initialize master info structure; more error messages can be found in the MySQL error log<\/p>\n<p>\n071005 13:06:38 [ERROR] Failed to open the relay log &#8216;\/var\/run\/mysqld\/mysqld-relay-bin.000074&#8217; (relay_log_pos 598368274)<br \/>\n071005 13:06:38 [ERROR] Could not find target log during relay log initialization<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Upgrade from 4.1.x and 5.0.22 to 5.0.42 and going forward (5.0.46, 5.0.48) in CentOS breaks replication. The error log now placed as \/var\/run\/mysqld\/mysqld.err instead of into the default datadir and the name is mysqld.err instead of .err, is it a MySQL bug? mysql> start slave; ERROR 1201 (HY000): Could not initialize master info structure; more [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/153"}],"collection":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=153"}],"version-history":[{"count":0,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/153\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}