Allow database host name setting, add defaults.