List Info

Thread: Duplicate records on the debian procedure.




Duplicate records on the debian procedure.
user name
2007-10-02 19:29:33
I saw a message about the debian procedure, in the step

zcat
/usr/share/doc/ossim-mysql/contrib/create_snort_tbls_mysql.s
ql.gz 
/usr/share/doc/ossim-mysql/contrib/create_acid_tbls_mysql.sq
l.gz 
| mysql -u root snort -p

I prefered to make a dump to a txt file 
create a dummy database to make the inserts
check the line duplicated and clear the duplicate line
at the end, i have a file without duplicate records,  
i know is not the most smartest solution, but may be this is
useful.

Here is the final file attached
so i changed the original comand for

mysql -u root -p ossim <inserts.txt

Alex

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Os-sim-support mailing list
Os-sim-supportlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/os-sim-s
upport

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )