ci: test fix
Some checks failed
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 5m18s
Unit Testing / phpunit (7.0) (push) Failing after 5m39s
Unit Testing / phpunit (7.2) (push) Failing after 5m33s
Unit Testing / phpunit (7.3) (push) Failing after 6m27s
Unit Testing / phpunit (7.4) (push) Failing after 6m44s
Unit Testing / phpunit (8.0) (push) Failing after 6m36s
Unit Testing / phpunit (8.1) (push) Failing after 6m54s
Unit Testing / phpunit (8.2) (push) Failing after 6m6s
Unit Testing / phpunit (latest) (push) Has been cancelled

This commit is contained in:
André Menrath 2023-12-05 13:41:26 +01:00
parent dccb6d7274
commit d322e8e21d

View file

@ -139,9 +139,7 @@ recreate_db() {
}
create_db() {
mysql -u root -p "${DB_PASS}" -e "FLUSH PRIVILEGES; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY ''; FLUSH PRIVILEGES;"
mysqladmin create $DB_NAME --user="$DB_USER" --password="$DB_PASS" $EXTRA
mysql -u root -p "${DB_PASS}" -e "FLUSH PRIVILEGES; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY ''; FLUSH PRIVILEGES;"
}
install_db() {