WIP for accessing the mysql db