ci: try fix
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 5m28s
Unit Testing / phpunit (7.0) (push) Has been cancelled

This commit is contained in:
André Menrath 2023-12-05 13:34:07 +01:00
parent 466ed7dc2b
commit dccb6d7274

View file

@ -139,9 +139,9 @@ 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 "GRANT ALL PRIVILEGES ON *.* TO '${DB_USER}'@'localhost' IDENTIFIED BY '${DB_PASS}' WITH GRANT OPTION; FLUSH PRIVILEGES;"
mysql -u root -p "${DB_PASS}" -e "FLUSH PRIVILEGES; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY ''; FLUSH PRIVILEGES;"
}
install_db() {