Snort mailing list archives

error connecting to mysql


From: Gentian Hila <gentianhila () gmail com>
Date: Tue, 16 Nov 2004 13:56:22 -0500

I followed the instructions of the setup manual one by one posted on
snort.org (at least I believe I did so) to setup Snort on Fedora core
3.
But after setting up ACID and testing 
http://localhost/acid/acid_main.php

I get the following error

Error (p)connecting to DB : snort@localhost

Check the DB connection variables in acid_conf.php

               = $alert_dbname   : MySQL database name where the
alerts are stored
               = $alert_host     : host where the database is stored
               = $alert_port     : port where the database is stored
               = $alert_user     : username into the database
               = $alert_password : password for the username
             

Database ERROR:Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13)

I checked to see if mysql was running  with netstat and I checked to
see if I could login to mysql as "snort" user. Both resulted positive.

I checked '/var/lib/mysql/mysql.sock' to see if the file was created
and it was there, also the permission were 777 so to me looked fine.

Do you have any suggestions what the problem might be ?

Gentian


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Snort-users mailing list
Snort-users () 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


Current thread: