Add function to produce db connection info from a component db spec.
Update db spec.