diff --git a/install/glpi-install.sh b/install/glpi-install.sh index 25b0d7d7e7..23564153f2 100644 --- a/install/glpi-install.sh +++ b/install/glpi-install.sh @@ -28,7 +28,7 @@ msg_info "Setting up database" DB_NAME=glpi_db DB_USER=glpi DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) -mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql mysql +mariadb-tzinfo-to-sql /usr/share/zoneinfo | mariadb mysql $STD mariadb -u root -e "CREATE DATABASE $DB_NAME;" $STD mariadb -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';" $STD mariadb -u root -e "GRANT ALL PRIVILEGES ON $DB_NAME.* TO '$DB_USER'@'localhost';"