[Snort-users] Problems with socket

Anthony J Placilla anthony_placilla at ...12807...
Fri Apr 29 08:05:53 EDT 2005


On Fri, 2005-04-29 at 19:47 +0400, slice wrote:
> Hello, all!
> I have installed snort 2.3.2 with mysql support and also
> acid-0.9.6b23. When I clicked in browser in 127.0.0.1/acid/ i have
> this error:
> 
> Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
> in /var/www/html/adodb/drivers/adodb-mysql.inc.php on line 364
> 
> I know that my mysql server using /tmp/mysql.sock but how i can
> reconfigure acid (and adodb) to use this socket - not
> /var/lib/mysql/mysql.sock
> 
> thanx
> 

You would be better off to edit /etc/my.conf to create the socket
in /var/lib/mysql/

having been bit by tmpwatch, which can delete /tmp/mysql.sock in a
whimsical & arbitrary fashion, I no longer use that.


-- 
Tony Placilla, RHCT
anthony_placilla at ...12807...

J.O.A.T.

GPG-Key-ID: 1024D/C78F8B64              http://pgp.mit.edu
Key fingerprint = A8D5 7AFF CE88 4179 C792  D9A9 F197 2A15 C78F 8B64





More information about the Snort-users mailing list