![snort logo](/images/snort-logo.png)
Snort mailing list archives
Re: snort and mysql5 losing db connection
From: Dirk Geschke <dirk () geschke-online de>
Date: Thu, 14 Jun 2007 14:43:03 +0200
Hi Greg,
I posted this on the forums a few days ago but since there has been no replies I am asking anyone on this list for assistance. Most of my sensors are running on centos 4 without a problem using mysql and base. To start getting familiar with CentOS 5 i built a test sensor which comes with mysql 5. I compiled the latest snort 2.6.x version. What happens if I do not get any alarms is snort loses the connection and starts throwing various errors like snort[7890]: database: mysql_error: MySQL server has gone away The database is working fine. I can still connect to it.
either a timeout happened or the connection was otherwise terminated. The client library of MySQL 4.x did a reconnect whereas this behaviour was changed with version 5.x. Take a look at: http://osdir.com/ml/security.ids.snort.devel/2006-04/msg00001.html Best regards Dirk ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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 and mysql5 losing db connection Greg King (Jun 14)
- Re: snort and mysql5 losing db connection Dirk Geschke (Jun 14)
- <Possible follow-ups>
- Re: snort and mysql5 losing db connection Richard Bejtlich (Jun 14)
- Re: snort and mysql5 losing db connection Jeff Dell (Jun 14)
- Re: snort and mysql5 losing db connection Richard Bejtlich (Jun 14)
- Re: snort and mysql5 losing db connection Jason Brvenik (Jun 14)
- Re: snort and mysql5 losing db connection Bamm Visscher (Jun 14)
- Re: snort and mysql5 losing db connection Jason Brvenik (Jun 14)
- Re: snort and mysql5 losing db connection Bamm Visscher (Jun 14)
- Re: snort and mysql5 losing db connection Jeff Dell (Jun 14)
- Re: snort and mysql5 losing db connection Richard Bejtlich (Jun 14)