NEWBIE ---
Hi group, I am having a hard time getting my install of cacti to work. I went through the documentation and did everything it said to do. My issue is when I open a browser to try to get to the front page I get the following error message
FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
I have my /include/config.php set correctly - or atleast I set it to how I installed cacti.
Cacti installation path is /var/www/cacti-0.8.7b/
I am going to paste my config.php file in here are well.
************************************************** *
<?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2008 The Cacti Group |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU General Public License |
| as published by the Free Software Foundation; either version 2 |
| of the License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
+-------------------------------------------------------------------------+
| Cacti: The Complete RRDTool-based Graphing Solution |
+-------------------------------------------------------------------------+
| This code is designed, written, and maintained by the Cacti Group. See |
| about.php and/or the AUTHORS file for specific developer information. |
+-------------------------------------------------------------------------+
| http://www.cacti.net/ |
+-------------------------------------------------------------------------+
*/
/* make sure these values refect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cacti";
$database_password = "*14msgwan!!";
$database_port = "3306";
/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";
?>
~
Can someone help the new guy learn. If there are some special commands you want me to execute so you can get a better feel of what I have installed just let me know.
i386 PC
Kubuntu 8.04
Firefox 3.0
I do have smokeping running and it works just fine.....
Please any help would be greatly appreciated. Thanks Brandon
Bookmarks