summaryrefslogtreecommitdiffstats
path: root/autotest.sh
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-10 14:46:08 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-10 14:46:08 +0200
commitc72ea81137f84d85cf844e25ef37be4cf7ce8012 (patch)
tree606f0bd4650c6c9a989cc0dbc1787c65aa092956 /autotest.sh
parent75312f96d4727d8ec91a16c48ac0aca15405513f (diff)
downloadnextcloud-server-c72ea81137f84d85cf844e25ef37be4cf7ce8012.tar.gz
nextcloud-server-c72ea81137f84d85cf844e25ef37be4cf7ce8012.zip
[autotest.sh] use the DATABASEHOST for the mysql DB drop
Diffstat (limited to 'autotest.sh')
-rwxr-xr-xautotest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotest.sh b/autotest.sh
index 6c2a61da0a7..0c0d5ba0996 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -117,7 +117,7 @@ function execute_tests {
# drop database
if [ "$1" == "mysql" ] ; then
- mysql -u $DATABASEUSER -powncloud -e "DROP DATABASE IF EXISTS $DATABASENAME" || true
+ mysql -u $DATABASEUSER -powncloud -e "DROP DATABASE IF EXISTS $DATABASENAME" -h $DATABASEHOST || true
fi
if [ "$1" == "pgsql" ] ; then
dropdb -U $DATABASEUSER $DATABASENAME || true