mysql log
log plotting using matplotlib