The MySQL/ directory contains everything related to the administration of
the MySQL database ftpStats uses.

So far we have:

	ftpstats.pl
	A Perl script to populate the tables, reading from STDIN a supported
	log format. Before using, edit ftpstats.ini to suit to your needs.
	Check the in-file comments for help.
	As of ftpStats 0.8.3, you can specify -a to process ALL entries in
	the given log, not only newer ones.
	As of ftpStats 0.8.4, you can specify -c to tell ftpstats.pl where
	it's config is, and -i to insert into MySQL more frequently than the
	default every 500 lines. Set to 1 for parsing STDIN on-the-fly:
	eg:  $ tail -f somelog | ftpstats.pl -i 1 -c /etc/ftpstats.ini


	nuke-all.pl
	A Perl script to drop all your tables so you can start over.
	Due to the destructive nature of this code, it is mode 644 by
	default. To use it, chmod 755 or run with perl directly.
	

	process-all-logs.sh
	Dinky little sh script to process all the xferlogs in any given
	location. Edit the script and change the value of LOGPATH as you see
	fit. Mine personally are in /var/log/xferlogs/ .. This script can be
	cronned to run as often as you like, although it's a little resource
	wasteful as it will check old unchanged logfiles. It's also good for
	repopulating your MySQL tables if/when they get nuked.


	sql-init.sql
	An SQL script to create the users ftpstats will access the table with.
	It creates two users, one with read access to the database
	(ftpstats_ro), and one with insert access (ftpstats).  The latter
	can be used by any updating scripts to add new transfers to the table.
