ci: fix typo
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m43s
Unit Testing / phpunit (7.0) (push) Has been cancelled

This commit is contained in:
André Menrath 2023-12-04 23:00:09 +01:00
parent 1305aea3d8
commit 1d6493212c

View file

@ -146,7 +146,7 @@ install_db() {
# the mariadb commands are not available on some self-hosted runner images
apt update && apt-get install mariadb-server mariadb-client -y
service mariadb start
mysql -u root -p"${DB_PASS}" -e "GRANT ALL PRIVILEGES ON *.* TO '${DB_USER}'@'${DB_HOST}' IDENTIFIED BY '${DB_PASS}' WITH GRANT OPTION; FLUSH PRIVILEGES;"
mysql -u root -p "${DB_PASS}" -e "GRANT ALL PRIVILEGES ON *.* TO '${DB_USER}'@'localhost' IDENTIFIED BY '${DB_PASS}' WITH GRANT OPTION; FLUSH PRIVILEGES;"
if [ ${SKIP_DB_CREATE} = "true" ]; then
return 0