parse db url into parts