ref #5969: check for db connection before ty to read the preferred nomenclatural...