Snort mailing list archives

Snort and mysql.sock


From: Luca Losio <llosio () crema unimi it>
Date: Thu, 08 Sep 2005 16:12:01 +0200

Hi,
I'm using snort Version 2.1.2 (Build 25) on a OpenBSD 3.7 compiled with
mysql support.

I modified the /etc/my.cnf file for using a different mysql sock
(/var/www/var/run/mysql/mysql.sock  instead of var/run/mysql/mysql.sock)
this why I want php scripts to connect to the mysql server.
All the php scripts are working, mysql client is working correctly with
this sock. Not snort. Snort complains it can't find the sock:

FATAL ERROR: database: mysql_error: Can't connect to local MySQL server
throughsocket '/var/run/mysql/mysql.sock' (2)

I searched thru the snort.conf but I can't find this variable..
Please tell me the sock path isn't hardcoded into snort...

Bye!

P.s I know I can get snort working with this sock using a link, just
wondering why snort want this particular sock :)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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: