Fixed proper error reporting if MySQL --store fails.