summaryrefslogtreecommitdiffstats
path: root/drop-all-tables.sh
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-04 23:28:18 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-04 23:28:18 -0400
commitb1e66ad9cc9ba1010fffb5259262464ed7635c2b (patch)
treeba74affed75eef88fb5d71b5ceb07b6f70fd7e3e /drop-all-tables.sh
parent3b8b4293ee9f029235526fdef8f68883e52a4a32 (diff)
downloadaskbot-b1e66ad9cc9ba1010fffb5259262464ed7635c2b.tar.gz
askbot-b1e66ad9cc9ba1010fffb5259262464ed7635c2b.tar.bz2
askbot-b1e66ad9cc9ba1010fffb5259262464ed7635c2b.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]