Create a gist now

Instantly share code, notes, and snippets.

@voku /mysqldump.sh
Last active Aug 29, 2015

What would you like to do?
mysqldump & remove SECURITY DEFINER from VIEWS
mysqldump -u your_user --skip-comments --complete-insert --databases your_db | grep -v 'SQL SECURITY DEFINER' > ~/your_dump.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment