Fix errors on inactive nodes.

Previously the inactive nodes in a cluster woudl still attempt to call the
database class and create their DBs and users, which of course, would fail,
since there was no mysql runnign on those nodes.  This patch simply leverages
the file created by our (soon to be cleaned up) execs to determine if those
database calls should happen or not.