Snort mailing list archives
Re: Snort -> Barnyard -> Remote MySQL DB (mysql.sock error)
From: Anthony J Placilla <anthony_placilla () suth com>
Date: Mon, 17 Jul 2006 14:18:46 -0400
Dan Brummer wrote:
Hello, Sorry for posting this in the snort-users forum but I have been unable to find any help anywhere else. I recently configured Snort and Barnyard on a remote sensor. I would like to log the alerts to a central MySQL server. I have configured everything correctly but when I run Barnyard I get the following error: Failed to connect to database (null):XXXXXXXX@(null)/(null): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Fatal Error, Quitting.. Exiting Any ideas? MySQL server is not installed/running on this remote sensor and I would like it to not have MySQL server. Thank you guys for your help. -Dan
When you built barnyard did you do ./configure --enable-mysql ? if no you need to do so & it will look for /usr/include/mysql/mysql.h which is part of the mysql-devel package -- Tony Placilla, RHCT, GSEC anthony_placilla () suth com GPG-Key-ID: 1024D/C78F8B64 http://pgp.mit.edu Key fingerprint = A8D5 7AFF CE88 4179 C792 D9A9 F197 2A15 C78F 8B64 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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:
- Snort -> Barnyard -> Remote MySQL DB (mysql.sock error) Dan Brummer (Jul 17)
- Re: Snort -> Barnyard -> Remote MySQL DB (mysql.sock error) Anthony J Placilla (Jul 17)
- Re: Snort -> Barnyard -> Remote MySQL DB (mysql.sock error) Dirk Geschke (Jul 19)