Skip to main content

Hello everyone, 

I have just installed centreon on a debian 12 vm based on proxmox. 
During my installation, I noticed at step 6 that I don't have access to my mariadb screen database. I looked for different errors in the mariadb, php or apache2 web server logs and I found this: 

however, I did declare my centreon host in the various conf files in .env and conf.php. 

I'm using:
mariadb version 10.11.10
php version 8.2.25
apache 2 version 2.4.62 


I'm completely lost when it comes to this, and I really need it quickly, as this infra is ultimately necessary to obtain my diploma. 

Thanks in advance to anyone who can help me.

Best regards, 


Adil

Translated with DeepL.com (free version)

Hello @adilkrch,

 

questions, can your central reach the sql server? localhost or the ip? can your connect to the db from the central? mainly because of the “Connection refused”

mysql -h 10.30.1.82 -u root -p

mysql -u root -p


Hello @ponchoh i can’t Connect with ip adress but only with localhost. It s db local.

u Could see that with this screenshot


perfect, then lets try with an empty field (using the default, localhost)

 

🤞


I create an user in my database with ip adress and i can Connect. 

 


 


Thanks for the images, I was thinking an empty field. Also, did you follow these steps?

 

https://docs.centreon.com/docs/installation/installation-of-a-central-server/using-packages/#secure-the-database


Yes of course 


which centreon version are you installing?


Reply