Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

ERROR: MySql connection problem 2006


Server : CentOS 8 stream - OCSINVENTORY 8

I have finished the installation but when I try to connect on the index.php page, I get the following error message : 

ERROR: MySql connection problem 2006

MySQL server has gone away

Can anyone help me about this case.


in OCS Inventory NG server for Unix by (120 points)

1 Answer

0 votes
Have you tried to check is the mysql aviable from shell?
If yes what database system you use? In example in MariaDB there is a need to configure  loging with password for root user in database, otherwise install.php has problem with connection to mysql (I had the same "problem 2006" cased by this)
by (2.9k points)
Powered by Question2Answer