From: Morris Jobke Date: Fri, 10 Apr 2015 12:46:08 +0000 (+0200) Subject: [autotest.sh] use the DATABASEHOST for the mysql DB drop X-Git-Tag: v8.1.0alpha1~29^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c72ea81137f84d85cf844e25ef37be4cf7ce8012;p=nextcloud-server.git [autotest.sh] use the DATABASEHOST for the mysql DB drop --- 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