python script that interfaces with a local mysql instance to log irc data into a table for aggregation