Warning: Skipping the data of table mysql.event.

Rob —  September 3, 2013 — 3 Comments

Your MySQL script was running great, but then you started getting errors – If you get this warning when dumping the mysql database, it’s not a bug – MySQL did this on purpose because they wanted people to know that they weren’t dumping the event table. Previous versions did not give the warning.

Do you care about the mysql.event table? It’s for scheduled events (introduced in 5.1.6). More information about it can be found on the MySQL Event Scheduler page.

If you DO want to dump it, change:

to:

If you DON’T want to dump it, change:

to:

Also – if you’re interested, we have created a nice script to dump all of your MySQL databases nightly!

Related posts from Linux Brigade!

  • Move MySQL tmp directoryMove MySQL tmp directory You’ll eventually run into a client who has a crashed table in their database – this table will be pretty large – maybe even larger than the system’s default temporary directory (usually […]
  • Import MySQL database from command lineImport MySQL database from command line You’ll need to import a database via command line from time to time – I’ll normally opt for this anyway. After seeing how easy it is, you’ll probably end up using the command line instead […]
  • Check, repair, optimize all databases with one commandCheck, repair, optimize all databases with one command My server had some tables marked as ‘crashed’ in one of the databases.. the server had recently gone down pretty harshly so I wanted to go through and check, repair and optimize all of the […]
  • Back up all of your mysql databases nightlyBack up all of your mysql databases nightly Have you ever wanted to make your own MySQL database backups?  You can use this script I wrote to make a backup of all databases, then save each one in a dated backup directory.  It will […]
  • Install nrpe on XenServerInstall nrpe on XenServer If you are using nagios in your hosting environment and need to install nrpe on your XenServer servers, here’s a good way to do it.
    I’m using XenServer 6.1 (latest version).

    First, […]

Trackbacks and Pingbacks:

  1. Warning: Skipping the data of table mysql.event. | Linux News ProLinux News Pro - October 31, 2013

    […] post Warning: Skipping the data of table mysql.event. appeared first on Linux […]

  2. Fixing MySQL connection dropping | jahimandahalf - March 10, 2015

    […] –all-databases /home/YOUR_HOME_DIR/alldb.sql for example. If you get a warning about events see this post for more […]

  3. Automysqlbackup fix error "Skipping the data of table mysql.event. Specify the –events option explicitly" | DL-UAT - April 1, 2015

    […] found that its because of not specifying whether or not to add events table in […]

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url=""> 

*