Switch to mysqli connection to database