Making small change to RunStatsSQL test

Instead of checking for a specific error in the "captures mysql output" test,
just check for "ERROR". The specific error will change due to environment,
etc.