finish mysql