wip: transform mysql -> mysqli