Moving to mysqli adapter