BSOD2600 wrote:IPv6 enabled XP 'eh? I wonder if that's the source of these problems. Will have to do some testing when I've got time to see if I can replicate.
Anyways, yes you'll have to manually install the cacti mysql database.
http://docs.cacti.net/manual:087:1_inst ... er_windows You'll only need to do the configuration portions, as the installer already took care of the various installs. Don't do the "old-passwords" config in MySQL.
BSOD,
Again thank you so much...I think I am closer or not even close at all
.
I was able to do this:
Set a password for the root user (if not set already during MySQL installation)
c:\> mysqladmin --user=root password somepassword
c:\> mysqladmin --user=root --password reload
Create the MySQL database:
c:\> mysqladmin --user=root --password create cacti
Import the default Cacti database:
c:\> mysql --user=root --password cacti < c:\apache2\htdocs\cacti\cacti.sql
And now I can see a folder for cacti...
But when I do this:
Create a MySQL username and password for Cacti.
c:\> mysql --user=root --password mysql
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cactipw';
mysql> UPDATE mysql.user SET Password = OLD_PASSWORD('cactipw') WHERE Host = 'localhost' AND User = 'cactiuser';
mysql> flush privileges;
It says NO ROWS WERE UPDATED.
I followed the link you posted...
But now when I go to
http://machinename/cacti I still get:
FATAL: Cannot connect to MySQL server on 'TKAHD-CACTI-1'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
Here is what my include/config.php says:
Code: Select all
<?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2011 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 = "TKAHD-CACTI-1";
$database_username = "cactiuser";
$database_password = "cactipw";
$database_port = "3306";
$database_ssl = false;
/*
Edit this to point to the default URL of your Cacti install
ex: if your cacti install as at http://serverip/cacti/ this
would be set to /cacti/
*/
$url_path = '/cacti/';
/* Default session name - Session name must contain alpha characters */
$cacti_session_name = "Cacti";
?>