Hello,
cacti's configuration under windows has a little bug .
We can modify this parameters :
$database_default ='cacti'
$database_hostname='localhost'
$database_username='cactiuser'
$database_password='cacti'
$database_port = '3307' (in my case)
in the file : cacti_web_root/cacti/include/config.php.
But if i post variables in the file :
./cacti/lib/adodb/drivers/adodb.mysql.inc.php in function _pconnect
i can read : "localhost:3306 cactiuser cacti 0"
The port doesn't match
After reading some files, call function in config.php was :
db_connect_real($database_hostname, $database_username, $database_password, $database_default, $database_type);
but it must be :
db_connect_real($database_hostname, $database_username, $database_password, $database_default, $database_type, $database_port);
to use my port.
And now it's good... install works .
Cacti v0.8.6h $database_Port : always set 3306
Moderators: Developers, Moderators
Hmm, I could've sworn I've used cacti on another port on Windows and it worked. Anyways, feel free to submit a bug report: bugs.cacti.net
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Verify your config.php.dist and make sure that you followed the instructions, rename config.php to config.php.old, rename config.php.dist to config.php and then restore your settings to that file. I believe that this will fix your issue.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests