Created
June 9, 2016 06:34
-
-
Save feksai/69b3354bf98cbab0b253d05c366f0a8d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql -u root -pCHANGEME mfc -e "show tables like 'ld_%'" > ld_list.txt | |
sed 's/$/,/;$s/.$/;/;1d;2i\DROP TABLE' ld_list.txt > ld_list.sql | |
mysql -u root -p mfc < ld_list.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment