View Single Post
  #5  
Old 19th July 2006, 08:11
StupidScript StupidScript is offline
Junior Member
 
Join Date: Jul 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
There are many ways to create the snort database.
For MySQL:

Code:
cd /root/snorttemp/schemas
Code:
mysql -u MASTERUSER -pMASTERPASSWORD
Code:
mysql>create database snortdb;
Code:
mysql>use snortdb;
Code:
mysql>source create_mysql;
Code:
mysql>grant all on snortdb.* to snortuser@localhost identified by 'snortpassword';
Code:
mysql>quit;
That will use the installed sql file to populate the default 'snortdb' database and add the proper permissions for the 'snortuser' of your choice with the 'snortpassword' of your choice.

FYI.
Reply With Quote