[Snort-users] Snort and mysql.sock

Dirk Geschke Dirk_Geschke at ...1344...
Thu Sep 8 07:18:13 EDT 2005


Hi,

> FATAL ERROR: database: mysql_error: Can't connect to local MySQL server
> throughsocket '/var/run/mysql/mysql.sock' (2)
> 
> I searched thru the snort.conf but I can't find this variable..
> Please tell me the sock path isn't hardcoded into snort...

this is the compiled in default for the used library. But as with
the server you can specify the client part in my.cnf:

[client]
socket          = /var/www/var/run/mysql/mysql.sock

Best regards

Dirk






More information about the Snort-users mailing list