win2k new install

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
eddy
Posts: 32
Joined: Wed Apr 03, 2002 8:48 am
Location: Mississauga, Ontario

win2k new install

Post by eddy »

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? :o
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

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
User avatar
eddy
Posts: 32
Joined: Wed Apr 03, 2002 8:48 am
Location: Mississauga, Ontario

win2k new install

Post by eddy »

thanks for your help I did as you advised and everything works FINE!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests