wip change mysql to mysqli