[Snort-users] problem with mysql and snort

Joel Esler joel.esler at ...1935...
Wed Jun 28 19:52:13 EDT 2006


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