Snort mailing list archives

RE: snort & mysql; not using the password?!


From: "Folkert van Heusden" <folkert () vanheusden com>
Date: Tue, 8 Oct 2002 17:53:54 +0200

Ehr, never mind: I've fixed it :o)

-----Oorspronkelijk bericht-----
Van: snort-users-admin () lists sourceforge net
[mailto:snort-users-admin () lists sourceforge net]Namens Folkert van
Heusden
Verzonden: dinsdag 8 oktober 2002 17:29
Aan: snort-users () lists sourceforge net
Onderwerp: [Snort-users] snort & mysql; not using the password?!


Hi,

I'm trying to get snort 1.8.7 to work with mysql 3.23.39
In snort.conf I added the following line:
  output database: log, mysql, user=userxxx dbname=xxx host=localhost
When I logon into myqsl like this:
mysql -u userxxx -h localhost -p snort
all works fine!
But if I try to start snort like this:
/usr/local/bin/snort -c /usr/local/etc/snort.conf -dvi ppp0
I get the following error:
database: compiled support for ( mysql )
database: configured to use mysql
database: database name = snort
database:          user = userxxx
database:          host = localhost
database: password is set
Node unique name is: 213.84.46.114
database:   sensor name = 213.84.46.114
database:     sensor id = 1
database: schema version = 105
database: using the "log" facility
limit == 128
UnifiedAlertFilename = snort.alert
database: compiled support for ( mysql )
database: configured to use mysql
database:          user = userxxx
database: database name = xxx
database:          host = localhost
Node unique name is: 213.84.46.114
database:   sensor name = 213.84.46.114
database: mysql_error: Access denied for user: 'snortman@localhost' (Using
password: NO)

This is rather strange! Suddenly it takes the password for the
database-name, and when snort tries to connect to the database
it doesn't use the password!

Anyone got a clue what can be the cause of this?


Folkert van Heusden

------------------------------------------------------------
Folkert van Heusden
Mobile phone: +31-6-41278122
Work e-mail address: f.v.heusden () ftr nl
ICQ number: 105675015
PGP-key available on request
------------------------------------------------------------




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: