News for hackers. Stuff that matters.
Re:An open MySQL bug receives a real Birthday cake by gkop on Friday June 28, 2013 @03:10PM (#5959811)
The conventional workaround:

  $ mysqldump -d my_database | sed 's/ AUTO_INCREMENT=[0-9]*\b//' > dump.sql
Re:An open MySQL bug receives a real Birthday cake by shdon on Friday June 28, 2013 @06:22PM (#5960624)
That's also listed in the comments for the bug, as well as some (contrived) examples as to when it wouldn't work. Surprising it hasn't been fixed, considering how simple the true fix is.