Added MySQL logging capabilities

Working, though it may still be a little rough around the edges.
Requires the MySQL.Net connector (available from mysql.com)