output alert_acid_db:
mysql,sensor_id=1,database=snort,server=ids-mgmt01,user=snort,password=*
*****
Mysql -hids-mgmt01 -u snort -p works correctly as well.
-Dan
-----Original Message-----
From: pauls@xxxxxxxxxxxx [mailto:pauls@xxxxxxxxxxxx]
Sent: Monday, July 17, 2006 10:05 AM
To: Dan Brummer; barnyard-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Barnyard-users] Barnyard -> Remote MySQL (mysql.sock
error)
--On July 17, 2006 9:47:45 AM -0700 Dan Brummer <dan.brummer@xxxxxxxxx>
wrote:
>
> Hello,
> I'm having a problem using barnyard to connect to a remote mysql DB.
> I get the following error:
>
> Failed to connect to database (null):XXXXXXXX@(null)/(null): Can't
> connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock'
> (2)
>
You need to define the user and the host where the mysql db resides.
Show us the line in your barnyard conf file that defines the values for
the output plugin.
Paul Schmehl (pauls@xxxxxxxxxxxx)
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/
-------------------------------------------------------------------------
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
|