This is a simple mysql history script contributed by Matt Hyclak NB : THIS SCRIPT WAS MEANT TO BE USED FOR PEOPLE WHO WANTED TO STORE THE PRINTING HISTORY IN A MYSQL DATABASE WHEN MYSQL WAS **NOT** SUPPORTED IN PYKOTA. UNLESS YOU'VE GOT REALLY SPECIAL NEEDS, YOU SHOULD CONSIDER THE CONTENT OF THIS DIRECTORY TO BE OUTDATED AND YOU SHOULD NOT USE IT : MYSQL IS NOW SUPPORTED AS THE DATABASE BACKEND FOR PYKOTA, PLEASE SEE ../../initscripts/mysql/README.mysql FOR DETAILS. To use, place the mysql_history.conf file in your pykota config directory. This is located in the pykota user's home directory, or as a last resort in /etc/pykota. Modify the variables to match your setup. The mysql_history.py should be called from a posthook script. No variables need be passed to the script, as it extracts everything from the environment variables set by Pykota. The history.sql file includes the SQL statements to create the database used by the mysql_history.py program. This can be extended fairly trivially if you wish to capture extra data.