CMDPHP: Poller[0] FATAL: Cannot connect to MySQL server
Moderators: Developers, Moderators
-
- Posts: 17
- Joined: Sun Feb 18, 2007 11:09 am
CMDPHP: Poller[0] FATAL: Cannot connect to MySQL server
I have tried everything i can imagine i cant find a way to make cacti work.
Everything goes ok , i install , log as admin , change admin password , add a host.
But when i try to graph something i get:
01/15/2009 09:03:20 PM - CMDPHP: Poller[0] FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti-0.8.6j/lib/functions.php:380) in /usr/share/cacti-0.8.6j/include/auth.php on line 31
everything is in the right place.
mysql is running ..
# mysqladmin -u nobody -p ping
Enter password:
mysqld is alive
# cat include/config.php
/* make sure these values refect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "nobody";
$database_password = "MYPASSHERE";
$database_port = "3306";
# netstat -panute |grep 3306
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 104 503941 3119/mysqld
cacti table is there on the sql server ...
any idea will be really helpful.
Running debian arm and cacti 0.86j
Everything goes ok , i install , log as admin , change admin password , add a host.
But when i try to graph something i get:
01/15/2009 09:03:20 PM - CMDPHP: Poller[0] FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti-0.8.6j/lib/functions.php:380) in /usr/share/cacti-0.8.6j/include/auth.php on line 31
everything is in the right place.
mysql is running ..
# mysqladmin -u nobody -p ping
Enter password:
mysqld is alive
# cat include/config.php
/* make sure these values refect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "nobody";
$database_password = "MYPASSHERE";
$database_port = "3306";
# netstat -panute |grep 3306
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 104 503941 3119/mysqld
cacti table is there on the sql server ...
any idea will be really helpful.
Running debian arm and cacti 0.86j
-
- Posts: 17
- Joined: Sun Feb 18, 2007 11:09 am
-
- Posts: 17
- Joined: Sun Feb 18, 2007 11:09 am
-
- Posts: 17
- Joined: Sun Feb 18, 2007 11:09 am
Who is online
Users browsing this forum: No registered users and 0 guests