support for mysql
logs are now stored in mysql