set local profile, set datasource and mybatis