Snort 2.6.0, barnyard2, MySQL aanval 7 all on same box. ran the create_mysql script, see the tables in the database, database connect success, however database name failure is all I get! I've setup aanval 5 and 6 before and never had this problem. It's very frustrating. I think I've granted perms to the user snort and root about 75 times on the MySQL command line, no dice.
username is snort
database server name localhost and 127.0.0.1 tried, localhost gives connection success but database name is always Failure.
database name is snort
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| aanvaldb |
| mysql |
| snort |
| test |
+--------------------+
5 rows in set (0.00 sec)
mysql> connect snort;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Connection id: 167000
Current database: snort
mysql> show tables;
+------------------+
| Tables_in_snort |
+------------------+
| data |
| detail |
| encoding |
| event |
| icmphdr |
| iphdr |
| opt |
| reference |
| reference_system |
| schema |
| sensor |
| sig_class |
| sig_reference |
| signature |
| tcphdr |
| udphdr |
+------------------+
16 rows in set (0.00 sec)
mysql>