support old DB: change adapter to mysql, change type of password columns