WIP on mysql api