tweaks to allow checking of mysql db, ensuring timestamping even in the event of execution failure.
finalizing msql checks, timestamping, logging
typo when moving code, correcting mysql query
more tweaks to logging, exception handling for mysql checks