SHARE
TWEET

shell script to truncate all MySql tables

a guest Feb 26th, 2012 30 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mysqldump  --no-data mydb | mysql mydb
  2.        
  3. mk-find -exec "truncate %s"
RAW Paste Data
Top