{"id":562,"date":"2014-03-26T17:33:31","date_gmt":"2014-03-26T15:33:31","guid":{"rendered":"http:\/\/www.mediamill.de\/blog\/?p=562"},"modified":"2014-03-11T16:24:55","modified_gmt":"2014-03-11T14:24:55","slug":"mysqldump-automysqlbackup-warning-skipping-the-data-of-table-mysql-event-specify-the-events-option-explicitly","status":"publish","type":"post","link":"https:\/\/www.mediamill.de\/blog\/2014\/03\/26\/mysqldump-automysqlbackup-warning-skipping-the-data-of-table-mysql-event-specify-the-events-option-explicitly\/","title":{"rendered":"mysqldump \/ AutoMySQLBackup Warning: Skipping the data of table mysql.event. Specify the &#8211;events option explicitly"},"content":{"rendered":"<p>Nach einem Update auf MySQL 5.5.3, taucht in den Logs der Datenbank-Backups folgende Warnung auf:<\/p>\n<pre class=\"brush:shell\">-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly<\/pre>\n<p>Unter <a href=\"http:\/\/datacharmer.blogspot.com.au\/2013\/02\/mysql-and-warnings-yet-another.html\" target=\"_blank\">mysql-and-warnings-yet-another<\/a> wird ausf\u00fchrlich auf die Problematik eingegangen.<\/p>\n<p>Damit man diese Fehlermeldung wieder los wird, hat man folgende Optionen:<\/p>\n<ul>\n<li><strong>&#8211;events<\/strong> als Parameter dem mysqldump Befehl hinzuf\u00fcgen.\u00a0 &#8211;&gt; Die Warnung\u00a0 verschwindet, da nun die Event-Tabelle explizit gesichert wird.<\/li>\n<li><strong>&#8211;ignore-table=mysql.event<\/strong> als Parameter dem mysqldump Befehl hinzuf\u00fcgen. &#8211;&gt; Die Warnung verschwindet, da nun die Event-Tabelle explizit NICHT gesichert wird.<\/li>\n<\/ul>\n<p>Wenn man das Backup-Script <a href=\"http:\/\/sourceforge.net\/projects\/automysqlbackup\/\" target=\"_blank\">AutoMySQLBackup<\/a> <a href=\"http:\/\/sourceforge.net\/p\/automysqlbackup\/bugs\/79\/\" target=\"_blank\">(Bugreport)<\/a> einsetzt, findet man im Script folgende Zeile, in der man die gew\u00fcnschte Option einf\u00fcgen kann:<\/p>\n<pre class=\"brush:shell\">OPT=\"--quote-names --opt --single-transaction\" # OPT string for use with mysqldump ( see man mysqldump )<\/pre>\n<p>Wenn die Event-Tabelle gesichert werden soll:<\/p>\n<pre class=\"brush:shell\">OPT=\"--quote-names --opt --single-transaction --events\" # OPT string for use with mysqldump ( see man mysqldump )<\/pre>\n<p>Oder wenn die Event-Tabelle NICHT gesichert werden soll:<\/p>\n<pre class=\"brush:shell\">OPT=\"--quote-names --opt --single-transaction --ignore-table=mysql.event\" # OPT string for use with mysqldump ( see man mysqldump )<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Nach einem Update auf MySQL 5.5.3, taucht in den Logs der Datenbank-Backups folgende Warnung auf: &#8212; Warning: Skipping the data of table mysql.event. Specify the &#8211;events option explicitly Unter mysql-and-warnings-yet-another wird ausf\u00fchrlich auf die Problematik eingegangen. Damit man diese Fehlermeldung wieder los wird, hat man folgende Optionen: &#8211;events als Parameter dem mysqldump Befehl hinzuf\u00fcgen.\u00a0 &#8211;&gt; [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,58],"tags":[],"class_list":["post-562","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-mysql"],"_links":{"self":[{"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/posts\/562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/comments?post=562"}],"version-history":[{"count":4,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/posts\/562\/revisions"}],"predecessor-version":[{"id":628,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/posts\/562\/revisions\/628"}],"wp:attachment":[{"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/media?parent=562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/categories?post=562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/tags?post=562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}