Add support for logging lottery winnings to a MySQL database

Adds support for logging lottery winnings to a MySQL database