Skip to content

Instantly share code, notes, and snippets.

@GianpaMX
Created July 5, 2011 23:28
Show Gist options
  • Save GianpaMX/1066203 to your computer and use it in GitHub Desktop.
Save GianpaMX/1066203 to your computer and use it in GitHub Desktop.
Scccript para borrar tablas
for i in `mysql -u root -p123456 activation -B -e "show tables" | grep core `; do mysql -u root -p123456 activation -e "drop table $i"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment