]> source.dussan.org Git - nextcloud-server.git/commitdiff
[autotest.sh] use the DATABASEHOST for the mysql DB drop
authorMorris Jobke <hey@morrisjobke.de>
Fri, 10 Apr 2015 12:46:08 +0000 (14:46 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Fri, 10 Apr 2015 12:46:08 +0000 (14:46 +0200)
autotest.sh

index 6c2a61da0a7934902c55371def41b151d950327e..0c0d5ba0996349eb81e9850a93396ff0302b6c33 100755 (executable)
@@ -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