diff options
Diffstat (limited to 'drop-all-tables.sh')
-rw-r--r-- | drop-all-tables.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drop-all-tables.sh b/drop-all-tables.sh new file mode 100644 index 00000000..87783b77 --- /dev/null +++ b/drop-all-tables.sh @@ -0,0 +1,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] |