Return errors when we don't have any databases to operate on.