Jump to content

Recommended Posts

Posted

Attach you barnyard.conf file.

 

 

I can log in mysql and check database

# mysql -u snort -p
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| archive            |
| mysql              |
| performance_schema |
| snort              |
| test               |
+--------------------+

 

 

Attach you barnyard.conf file.

Posted

This is your line 349

output database: log, mysql, user=base password=123456 dbname=snort host=localhost sensor_name=WinIDS-Home

This is what the line 349 should look like if the tutorial was followed

output database: log, mysql, user=snort password=l0gg3r dbname=snort host=winids sensor_name=WinIDS-Home

Not sure what you have done as it appears you have changed critical switches. Correcting these should allow a connection to the MySQL database?

Posted
Thank you for help my
I connect Mysql
C:>mysql -u root -p
Enter password: *******
mysql> connect snort;
Connection id:    6
Current database: snort
mysql> select * from event limit 10;
Empty set (0.03 sec)
mysql>
and in snort file log merged.log.1417778600 (7MB) :(
i don't know database snort empty
help my
Posted
+ I add rules in local.rules and sonrt in run  file log 
+ Barnyard2 exiting 
database: Closing connection to database "snort" 

(barnyard2.exe not run)

+ runing start.bat

database mysql_error: Can't connect to local MySQL server through socket '/tmp/m
ysql.sock' (2)
Posted

Failed install  snort on Windows XP. Snort error cannot write mysql.

Check file log snort data but mysql  -> empty

run d:winidsactivatorsby2-test

database mysql_error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
:(

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...