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 2022-06-06 10:33:59

gladiator
Member
Registered: 2022-06-06
Posts: 2

Unknown database

Hello everyone!
I get an error at step 3 of the installation.

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

Config:
GLPI: 10.0.1
Apache/2.4.38 (Debian)
Database client version: libmysql - mysqlnd 8.1.6
PHP Version: 8.1.6
phpMyAdmin: 5.2.0
Server Version: 8.0.29 - MySQL Community Server - GPL

The documentation states

We recommend to use the newest supported PHP release for better performance.

Do you have any general recommendations which version of PHP and MySQL is best to use?

Offline

#2 2022-06-06 15:32:19

Kaya84
Member
Registered: 2019-06-13
Posts: 217

Re: Unknown database

I'm running PHP 7.4.3 with  mysql-server-8.0                      8.0.29-0ubuntu0.20.04.3

It seems that there something wrong in configuration...  Did u create the database ??

Offline

#3 2022-06-07 06:25:24

gladiator
Member
Registered: 2022-06-06
Posts: 2

Re: Unknown database

I instructed GLPI to create a database on its own in the 2rd step of the installation.
The problem disappeared on PHP 8.0.19
Tell me what kind of encoding do you use?

Last edited by gladiator (2022-06-07 06:29:55)

Offline

#4 2022-06-07 09:11:05

Kaya84
Member
Registered: 2019-06-13
Posts: 217

Re: Unknown database

mysql> SELECT default_character_set_name FROM information_schema.SCHEMATA
    -> WHERE schema_name = "glpi";
+----------------------------+
| DEFAULT_CHARACTER_SET_NAME |
+----------------------------+
| utf8mb4                    |
+----------------------------+
1 row in set (0,00 sec)

Offline

Board footer

Powered by FluxBB