summaryrefslogtreecommitdiffstats
path: root/drop-all-tables.sh
blob: 87783b771eda102335b0e8ae38e1d9595dc41b08 (plain)
1
2
3
4
mysql_username='cnprog'
mysql_database='cnprog'
mysqldump -u $mysql_username -p --add-drop-table --no-data $mysql_database | grep ^DROP 
#| mysql -u[USERNAME] -p[PASSWORD] [DATABASE]