Skip to content

Instantly share code, notes, and snippets.

@kabakaev
Last active February 5, 2016 21:43
Show Gist options
  • Select an option

  • Save kabakaev/1083bccaee73a33b1fd0 to your computer and use it in GitHub Desktop.

Select an option

Save kabakaev/1083bccaee73a33b1fd0 to your computer and use it in GitHub Desktop.
mysqldumper $paramaters | perl -pe 's/\sDEFINER=`[^`]+`@`[^`]+`//' > fixed.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment