aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2015-04-10 21:56:27 +0100
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2015-04-10 21:56:27 +0100
commit2e88f8af43c6a86a4c0040cbdacc87ab7917e82b (patch)
tree271efb8aebec0bdf4383add7acd48945b58ef7b9
parent77afef328d285fd97b020399c42227d89fc71d18 (diff)
parentc72ea81137f84d85cf844e25ef37be4cf7ce8012 (diff)
downloadnextcloud-server-2e88f8af43c6a86a4c0040cbdacc87ab7917e82b.tar.gz
nextcloud-server-2e88f8af43c6a86a4c0040cbdacc87ab7917e82b.zip
Merge pull request #15536 from owncloud/fix-mysql-autotest
[autotest.sh] use the DATABASEHOST for the mysql DB drop
-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