Without finiteness assumptions, the irreducible and the connected components of a scheme may behave in strange ways. More precisely, let us consider a scheme $X$ and the following properties:

(1) $X$ is the sum of its irreducible components;

(2) The irreducible and the connected components of $X$ coincide;

(3) The irreducible components of $X$ are pairwise disjoint.

It is clear that (1) implies (2), that (2) implies (3), and that if the set of irreducible components of $X$ is locally finite then all three statements are equivalent (see [EGA 0.2.1.6]). However, (2) does not necessarily imply (1) in general: An affine counterexample is given by the spectrum of the product of infinitely many fields (which is non-discrete and totally disconnected). So, out of pure curiosity we may ask the following:

Is there an (affine) scheme fulfilling (3) but not (2)?

One can note that this is equivalent to the following:

Is there a nonempty, reducible, connected (affine) scheme whose irreducible components are pairwise disjoint?

(One can also note that for topological spaces that are not necessarily underlying spaces of schemes it is easy to find an example that fulfils (3) but not (2) - every connected, separated space with at least two points does so.)

Prime ideal structure in commutative rings.by Mel Hochster (1969). In it he classifies what topological spaces arise as a $\text{Spec}$ of a commutative ring. – Karl Schwede Jun 2 '12 at 18:16