Description
I have a laravel application that I am trying to integrate with Cacti : it is a complete network graphics solution designed to take advantage of the storage capabilities and graphical data exchange of RRDTool.
Actions
I downloaded it and put it in my public/ directory.
Now that I go to http://localhost:8888/cacti/
I got
First try
FATAL: Cannot connect to MySQL server on "localhost". Make sure you provide the correct MySQL database name in 'include / config.php'
Then I opened "include / config.php". Since my goal is to try connecting it to pgsql instead of mysql , so here are my current settings
$database_type = "pgsql"; $database_default = 'cacti'; $database_hostname = 'localhost'; $database_username = 'postgres'; $database_password = ''; $database_port = '5432'; $database_ssl = false;
As soon as I click saved and refresh the page http://localhost:8888/cacti/
Second attempt
Now I got: The localhost page isn't working :(

Database
I have already created the cacti database on my localhost running on port 5432 .

Any hints / suggestions on this subject would be greatly appreciated!
source share