change db connect type