summaryrefslogtreecommitdiffstats
path: root/sql_scripts/drop-all-tables.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sql_scripts/drop-all-tables.sh')
-rw-r--r--sql_scripts/drop-all-tables.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql_scripts/drop-all-tables.sh b/sql_scripts/drop-all-tables.sh
new file mode 100644
index 00000000..1e55cb1f
--- /dev/null
+++ b/sql_scripts/drop-all-tables.sh
@@ -0,0 +1,4 @@
+mysql_username=''
+mysql_database=''
+mysqldump -u $mysql_username -p --add-drop-table --no-data $mysql_database | grep ^DROP
+#| mysql -u[USERNAME] -p[PASSWORD] [DATABASE]