I have just installed cacti and mysql onto a win2k server running apache 1.3. when I try to load the cacti web page for the first time i get these errors:
Warning: Access denied for user: 'cactiuser@localhost' (Using password: YES) in C:\apache\htdocs\cacti\auth\include\database.php on line 18
Warning: MySQL Connection Failed: Access denied for user: 'cactiuser@localhost' (Using password: YES) in C:\apache\htdocs\cacti\auth\include\database.php on line 18
Cannot connect to MySQL server on localhost
any ideas?
win2k new install
Moderators: Developers, Moderators
I assume you used to the command sytax:
GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword';
To generate your user. Make sure you replaced 'cacti' with your MySQL database for cacti and 'somepassword' with an actual password.
Also, make sure you executed the command:
flush privileges;
Afterwards.
If that still does not work, try specifying you MySQL root account/password in the 'include/config.php' file.
-Ian
GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword';
To generate your user. Make sure you replaced 'cacti' with your MySQL database for cacti and 'somepassword' with an actual password.
Also, make sure you executed the command:
flush privileges;
Afterwards.
If that still does not work, try specifying you MySQL root account/password in the 'include/config.php' file.
-Ian
win2k new install
thanks for your help I did as you advised and everything works FINE!
Who is online
Users browsing this forum: No registered users and 0 guests