log_debug for mysql driver