mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
[autotest.sh] use the DATABASEHOST for the mysql DB drop
This commit is contained in:
parent
75312f96d4
commit
c72ea81137
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue