This is a discussion on RE: [Snort-users] Snort database problem within the Snort forums, part of the System Security and Security Related category; You must first create the database. The 'create_mysql' script will create the tables, but the db must already exist. Do ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
You must first create the database. The 'create_mysql' script will
create the tables, but the db must already exist. Do this: echo "CREATE DATABASE snort" | /usr/local/mysql/bin/mysql -u root -p Then run the command below, and all should be well. Be sure to run the appropriate GRANTs for the user/sensor that is sending the alerts. Andrew Hutchinson Infomatics/NCS/Network Security Vanderbilt University Medical Center -----Original Message----- From: snort-users-admin@lists.sourceforge.net [mailto:snort-users-admin@lists.sourceforge.net] On Behalf Of Laura Sent: Tuesday, April 06, 2004 1:01 PM Cc: snort-users@lists.sourceforge.net Subject: [Snort-users] Snort database problem Hello people, i had snort running fine until yesterday when i decided to clear all the tables rows ... whenever i wanted to start snort some error message came up so ... i decided to delete the snort database ... now i want to create again that database with the following command (the same command i've used before):=20 < ./contrib/create_mysql snort But i get this error: ERROR 1049: Unknown database "snort" Can anyone give me a clue of what is going on? TIA laura ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&al...3638&op=3Dcli= ck _______________________________________________ Snort-users mailing list Snort-users@lists.sourceforge.net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/...fo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.p...=3Dsnort-users ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Snort-users mailing list Snort-users@lists.sourceforge.net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/...fo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.p...st=snort-users |