You can turn off the check engine light yourself manually on your Mazda. When the light illuminates on the instrument panel, it is telling you that there is a problem with the valves, solenoids or sensors on the Mazda. In any case, it's a problem that needs to be looked at immediately by a qualified mechanic. Turning off the light is a very quick and fairly simple process that requires just a couple of basic tools.
Lift the bonnet of your vehicle and prop it open. Remove the negative cable from the battery terminal by loosening the nut on the cable with a 10-mm end wrench. (If you have a Miata, the battery is in the boot.)
Wait for five minutes, taking care not to allow the negative battery clamp to touch the positive clamp or the positive side of the battery.
Reattach the negative cable to the battery and tighten the nut using the end wrench.
Put the key into the ignition and turn it to "On." Look at the instrument panel to make sure the check engine light has turned off.
You now need to reset the clock and your radio button presets, as this information was wiped out when you disconnected the battery.