split database url into separate client config