diff --git a/bin/install-wp-tests.sh b/bin/install-wp-tests.sh index 46cf643..af59ebb 100755 --- a/bin/install-wp-tests.sh +++ b/bin/install-wp-tests.sh @@ -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() {