Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

shell script to truncate all MySql tables

By: a guest on Feb 26th, 2012  |  syntax: None  |  size: 0.07 KB  |  hits: 28  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. mysqldump  --no-data mydb | mysql mydb
  2.        
  3. mk-find -exec "truncate %s"