db connection 변환