class MysqliDb -> full adaptation