From de995d898fad96dadfccc15caa8c62e5128ca4a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=ADcolas=20Pastorello?= Date: Fri, 3 Jan 2025 09:27:24 -0300 Subject: [PATCH] Update install/glpi-install.sh Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> --- install/glpi-install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install/glpi-install.sh b/install/glpi-install.sh index 0821c95d..12fd9796 100644 --- a/install/glpi-install.sh +++ b/install/glpi-install.sh @@ -35,6 +35,12 @@ mysql -u root -e "CREATE DATABASE $DB_NAME;" mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';" mysql -u root -e "GRANT ALL PRIVILEGES ON $DB_NAME.* TO '$DB_USER'@'localhost';" mysql -u root -e "GRANT SELECT ON \`mysql\`.\`time_zone_name\` TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;" +{ + echo "GLPI Database Credentials" + echo "Database $DB_BAME + echo "Username: $DB_USER" + echo "Password: $DB_PASS" +} >> ~/glpi_db.creds msg_ok "Set up database" msg_info "Installing GLPi"