summaryrefslogtreecommitdiff
path: root/scripts/epgd-dropall
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/epgd-dropall')
-rwxr-xr-xscripts/epgd-dropall3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/epgd-dropall b/scripts/epgd-dropall
index 5ebfe47..65ef65b 100755
--- a/scripts/epgd-dropall
+++ b/scripts/epgd-dropall
@@ -1,6 +1,7 @@
#!/bin/bash
-export MYSQL_PWD=epg
+MYSQL_PWD=${MYSQL_PWD:-epg}
+export MYSQL_PWD
echo "------------------------"
echo "-- Drop normal tables --"