[Snort-users] problem with mysql and snort
joel.esler at ...1935...
Wed Jun 28 19:52:13 EDT 2006
First things first I guess...
is mysql running? 'ps ax | grep mysql'
On 0, Tom?s Rodriguez Orta <admin at ...13854...> wrote:
> Hello friends.
> I have installed the snort and mysql 4.0.21, but when I execute the snort in
> the console, it showing the followin error.
> database: compiled support for ( mysql )
> database: configured to use mysql
> database: user = root
> database: password is set
> database: database name = snort
> database: host = localhost
> database: sensor name = 192.168.0.1
> ERROR: database: mysql_error: Can't connect to local MySQL server through
> socket '/tmp/mysql.sock' (38)
> Fatal Error, Quitting..
> I try to solve the problem
> first- the file mysql.sock is in /var/db/mysql/mysql.sock not in the
> /tmp/mysql.sock, in the file my.cfg of the mysql, I write the followin line.
> socket = /var/db/mysql/mysql.sock
> second- I make an symbolic enlace with
> ln -s /var/db/mysql/mysql.sock /tmp/mysql.sock
> and the final result was negative, the problem continue.
> please, I need some help for run snort very well without problem.
> I hope some help.
> best regards sincerely TOMAS
> 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
> Snort-users mailing list
> Snort-users at lists.sourceforge.net
> Go to this URL to change user options or unsubscribe:
> Snort-users list archive:
More information about the Snort-users