Snort mailing list archives
Re: error output
From: Erick Mechler <emechler () techometer net>
Date: Mon, 13 Jan 2003 14:57:17 -0800
:: Jan 13 20:56:46 localhost snort: FATAL ERROR: database: mysql_error: Can't :: connect to MySQL server on '127.0.0.1' (111) :: so I replaced the 127.0.0.1 with the word 'localhost' and got the following :: output: :: Jan 13 22:13:02 localhost snort: FATAL ERROR: database: mysql_error: Can't :: connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Saul, I don't want to be a party pooper here, and possibly discourage you from posting to this list in the future, but it really does seem that you haven't been able to do anything without our help. I might suggest re-reading the post to this list from Erik Adams on 2003-01-11 entitled "How to get an answer to your question." With that said, the answer to your problem, and the answer to most of the issues you've posted about, are right there in front of you in the error message itself. See where it says "Can't connect to local MySQL server"? That means that there's something wrong with how your Snort process is connecting to your MySQL DB. Now, this could be that your MySQL server isn't running, the socket isn't where snort thinks it is, the snort user can't read the socket, or perhaps that the snort user doesn't have sufficient permissions to connect to the snort database within MySQL. Honestly, Google works. Take my word for it :) Go there, type in "mysql can't connect to local server" and see if one of the 8,000+ posts help you out in any way. Cheers - Erick ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ 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:
- error output Saúl Bósquez (Jan 13)
- Re: error output Erick Mechler (Jan 13)