Get db url from config