summaryrefslogtreecommitdiffstats
path: root/drop-all-tables.sh
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-04 23:27:54 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-04 23:27:54 -0400
commit146b90ec874a4f3eee0a31902a90e4c2d89bc729 (patch)
tree039d875d9ed22ea4eba931f2f78eca6205fc6b70 /drop-all-tables.sh
parent3ddaeb2d1c9a556768856d3e6b810dfd354aa01e (diff)
downloadaskbot-146b90ec874a4f3eee0a31902a90e4c2d89bc729.tar.gz
askbot-146b90ec874a4f3eee0a31902a90e4c2d89bc729.tar.bz2
askbot-146b90ec874a4f3eee0a31902a90e4c2d89bc729.zip
included changes by Adolfo and Chaitanya and found temporary fix for languages, switched files to Unix mode
Diffstat (limited to 'drop-all-tables.sh')
-rw-r--r--drop-all-tables.sh4
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]