Snort mailing list archives

error Snort + MySQL


From: "Kim Depover" <kim.depover () pandora be>
Date: Thu, 22 May 2003 13:45:09 +0200

 
Hi,

I'm currently working on a study for school on IDS on Linux, but a lot of these things are new to me. I've installed 
Snort 2.0.0 on SuSE 8.1 with kernel version 2.4.19 and now I'm trying to get Snort to log to MySQL (4.0).

I already installed Snort earlier without the --with-mysql=<dir> option and it worked perfectly. Now I've reinstalled 
Snort with the -with-mysql=<dir> option and I keep getting the following error:

database: compiled support for ( )
database: configured to use mysql
database: 'mysql' support is not compiled into this build of snort

ERROR: If this build of snort was obtained as a binary distribution (e.g., rpm,
or Windows), then check for alternate builds that contains the necessary
'mysql' support.

If this build of snort was compiled by you, then re-run the
the ./configure script using the '--with-mysql' switch.
For non-standard installations of a database, the '--with-mysql=DIR'
syntax may need to be used to specify the base directory of the DB install.

See the database documentation for cursory details (doc/README.database).
and the URL to the most recent database plugin documentation.
Fatal Error, Quitting..
 

I've also already run the script create_mysql to create the tables.

 In my configuration file I wrote the following line:

output database: log, mysql, user=mysql password=mysql dbname=SnortDB host=localhost 

When I put this line in comment then Snort runs like normal. And when I start mysql manually there are no problems.

Could anyone help me with this please?
Thank you very much,
Kim

Current thread: