I get following error when running below script
C:\>C:\php\php.exe C:\Apache\Apache2\htdocs\cacti\poller.php
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
Warning: mysql_connect(): Access denied for user 'cactiuser'@'localhost' (using
password: YES) in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.i
nc.php on line 339
<br>Cannot connect to MySQL server on 'localhost'. Please make sure you have spe
cified a valid MySQL database name in 'include/config.php'.
please assist
Pooler error
Moderators: Developers, Moderators
I'll ask the obvious, at least.
Did you create the cactiuser account inside of mysql?
http://www.cacti.net/downloads/docs/htm ... ndows.html
Did you create the cactiuser account inside of mysql?
http://www.cacti.net/downloads/docs/htm ... ndows.html
(IMO, not optional)7 Optional: Create a MySQL username and password for Cacti.
shell> mysql --user=root --password mysql
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword';
mysql> flush privileges;
thanks windsor i created user in cacti now i get the ffg error
C:\>C:\php\php.exe C:\Apache\Apache2\htdocs\cacti\poller.php
Warning: array_merge(): Argument #2 is not an array in C:\Apache\Apache2\htdocs\
cacti\poller.php on line 64
Warning: Invalid argument supplied for foreach() in C:\Apache\Apache2\htdocs\cac
ti\poller.php on line 123
'-' is not recognized as an internal or external command,
operable program or batch file.
10/26/2005 02:33:02 AM - SYSTEM STATS: Time:0.0953 Method:cmd.php Processes:1 Th
reads:N/A Hosts:0 HostsPerProcess:0 DataSources: RRDsProcessed:0
and when i try to open http://localhost/cacti/
i get this error: Fatal error: Call to undefined function mysql_connect() in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338
please suggest wat shuld i do next
thanks
C:\>C:\php\php.exe C:\Apache\Apache2\htdocs\cacti\poller.php
Warning: array_merge(): Argument #2 is not an array in C:\Apache\Apache2\htdocs\
cacti\poller.php on line 64
Warning: Invalid argument supplied for foreach() in C:\Apache\Apache2\htdocs\cac
ti\poller.php on line 123
'-' is not recognized as an internal or external command,
operable program or batch file.
10/26/2005 02:33:02 AM - SYSTEM STATS: Time:0.0953 Method:cmd.php Processes:1 Th
reads:N/A Hosts:0 HostsPerProcess:0 DataSources: RRDsProcessed:0
and when i try to open http://localhost/cacti/
i get this error: Fatal error: Call to undefined function mysql_connect() in C:\Apache\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338
please suggest wat shuld i do next
thanks
1) state what versions you're running.
2) read my updated install guide and pay attention to step #6 for MySQL.
2) read my updated install guide and pay attention to step #6 for MySQL.
| 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 |
Who is online
Users browsing this forum: No registered users and 4 guests