[Snort-users] problem with mysql and snort

Tomás Rodriguez Orta admin at ...13854...
Wed Jun 28 23:08:23 EDT 2006


yes joel, here the running the mysql
pollux# ps ax | grep mysql
37639  p0  D+     0:00.00 grep mysql
  564 con- IW     0:00.00 /bin/sh
/usr/local/bin/mysqld_safe --defaults-extra-f
  616 con- I      0:10.08
/usr/local/libexec/mysqld --defaults-extra-file=/usr/
pollux#

I have othe sitie web where I use some database, and working very well.

best regards .
TOMAS
----- Original Message -----
From: "Joel Esler" <joel.esler at ...1935...>
To: "Tom?s Rodriguez Orta" <admin at ...13854...>
Cc: <snort-users at lists.sourceforge.net>
Sent: Wednesday, June 28, 2006 4:52 PM
Subject: Re: [Snort-users] problem with mysql and snort


> First things first I guess...
>
> is mysql running?  'ps ax | grep mysql'
>
> Joel
>
> 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.
> > polux#snort
> > 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..
> >
> > why?
> > 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
> > big-tables
> > skip-innodb
> > skip-locking
> > [mysql.server]
> > user=mysql
> > basedir=/usr/local/mysql/
> > [mysql_safe]
> > err-log=/var/log/mysqld.log
> > pid-file=/var/run/mysql.pid
> >
> > 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
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Snort-users mailing list
> > Snort-users at 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
> >
>






More information about the Snort-users mailing list