logo
bgImage
http://www.winsnort.com


Welcome to the home of WinIDS - Windows Intrusion Detection System!
header

Thank you for visiting WINSNORT.com


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
SoCalUserOffline
23 Post subject: Database Authentication Error  PostPosted: Mar 21, 2007 - 12:56 PM



Joined: Mar 21, 2007

Posts: 3

Status: Offline
Newbie to Snort. Just finished installing Snort, Base MySQL on IIS.

When firing up the browser to http://winids/base, I get the following error:

Error (p)connecting to DB : snort@winids

Check the DB connection variables in base_conf.php

= $alert_dbname : MySQL database name where the alerts are stored
= $alert_host : host where the database is stored
= $alert_port : port where the database is stored
= $alert_user : username into the database
= $alert_password : password for the username

Database ERROR:Access denied for user 'base'@'localhost' (using password: YES)


I checked base_conf.php and all looks well. where is 'base'@'localhost' coming from?
Thanks.
 
 View user's profile Send private message  
Reply with quote Back to top
MorpheusOffline
Post subject: RE: Database Authentication Error  PostPosted: Mar 21, 2007 - 05:11 PM
Site Admin


Joined: Sep 04, 2003
East Coast - USA
Posts: 1415
Location: East Coast - USA
Status: Offline
It looks like there is a problem with the 'base' users password accessing the database.

Try manually logging into the database using the credentials for base.

CD to folder 'd:\win-ids\mysql\bin' and from the command prompt type 'mysql -u base -p' (less the quotes) and tap the 'Enter' key. You will be prompted for a password and type '@n@l1st' (less the quotes), and tap the 'Enter' key. You should be dropped into the mysql.

_________________
Best regards,
Morpheus...

WINSNORT.com Management
 
 View user's profile Send private message Visit poster's website MSN Messenger  
Reply with quote Back to top
SoCalUserOffline
8 Post subject: Database Authentication Error  PostPosted: Mar 22, 2007 - 06:57 AM



Joined: Mar 21, 2007

Posts: 3

Status: Offline
Nothin' Doin'.

When I enter that password from a command prompt, I get the following error:

ERROR 1045 (28000): Access denied for user 'base'@'localhost' (using password: YES).

So, I assume I hosed the "Create Database Access and Authenticated Users" portion of the installation.

How do I go about fixing this?

Thanks
 
 View user's profile Send private message  
Reply with quote Back to top
MorpheusOffline
Post subject: RE: Database Authentication Error  PostPosted: Mar 22, 2007 - 07:26 AM
Site Admin


Joined: Sep 04, 2003
East Coast - USA
Posts: 1415
Location: East Coast - USA
Status: Offline
Go back to the guide and create the authentication for the user 'base'.

This link could be helpful:

http://www.snort.org/archive-5-1686.html

_________________
Best regards,
Morpheus...

WINSNORT.com Management
 
 View user's profile Send private message Visit poster's website MSN Messenger  
Reply with quote Back to top
SoCalUserOffline
10 Post subject: Database Authentication Error  PostPosted: Mar 22, 2007 - 12:50 PM



Joined: Mar 21, 2007

Posts: 3

Status: Offline
Creating the authentication for 'base' on 'localhost' did the trick.

Thanks.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT -5 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic

Powered by PNphpBB2 © 2003-2009. The PNphpBB2 Team
www.eventloganalyzer.com