You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-04-24 18:41:12

AlexTR
Member
Registered: 2023-04-20
Posts: 12

New Database, what parameters are necessary

Now, with GLPI version 10.0.x and PHP 8.1, it gives an error when trying to create a database from the installer. To create it manually, what parameters are necessary?

"Uncaught Exception mysqli_sql_exception: Unknown database 'glpiddbb' in /GLPI/glpi/install/install.php at line 319"

The documentation doesn't specify anything.
"
Database
Warning

Currently, only MySQL (5.7 minimum) and MariaDB (10.2 minimum) database servers are supported by GLPI.

In order to work, GLPI requires a database server.
"

Thank you!

Offline

#2 2023-04-25 20:11:28

cedric-anne
Administrator
Registered: 2018-07-02
Posts: 85

Re: New Database, what parameters are necessary

Hi,

You can find a fix for this bug here: https://github.com/glpi-project/glpi/pull/14534/files

Offline

#3 2023-04-26 23:11:57

AlexTR
Member
Registered: 2023-04-20
Posts: 12

Re: New Database, what parameters are necessary

Hello!

I do it handmade:
create database glpi charset utf8mb4 collate utf8mb4_unicode_ci;

It is okey?

Thankyou!

Offline

#4 2023-04-27 10:29:44

cedric-anne
Administrator
Registered: 2018-07-02
Posts: 85

Re: New Database, what parameters are necessary

If you can see it from GLPI side, it is OK.

Offline

Board footer

Powered by FluxBB