Guest User

shell script to truncate all MySql tables

a guest
Feb 26th, 2012
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.07 KB | None | 0 0
  1. mysqldump --no-data mydb | mysql mydb
  2.  
  3. mk-find -exec "truncate %s"
Add Comment
Please, Sign In to add comment