Snort.org home  
Got Source? About Snort About Sourcefire Snort FAQ
Sourcefire Network Security - the creators of Snort

Snort Forums Archive

Archive Home » Windows » Snort Cann't connect to mysql,thanks a lot

Please note that the categories listed below represent an archived version of our forums pages. To view the current version and be able to post and reply to threads, please register and login here to go to the full forums pages.

[ Notice: Full Version of This Topic ]

Snort Cann't connect to mysql,thanks a lot


Posted by cheerbin727 on September 12, 2006 06:24:22

environment:snort 2.0+mysql+windows 2003
when run the snort use command:snort-c"c:\snort\etc\snort.conf"-l"c:\snort\log" -d -e -X,list errorsas follows
error:database mysql_error:access defied for user 'root@localhost'

Anyone have the answer?plese tell me as quicly as possible.

Posted by Cornbread on September 19, 2006 09:46:17

First, verify "root" has access to your Snort MySQL DB

Second, refer to snort.conf file, "step4" find the entry for MySQL, modify the password & DB name (& username if different than root)