When I am trying to install magento 126.96.36.199 I getting error in app/code/core/Mage/SalesRule/sql/salesrule_setup/upgrade-188.8.131.52-184.108.40.206.php SQLSTATE: Syntax error or access violation: 1067 Invalid default value for 'period'. after long time I finding solution for that. Just fire below query in your database and continue setup just remove error link from url. I hope it work for you.
ALTER TABLE `coupon_aggregated` CHANGE COLUMN `period` `period` DATE NOT NULL DEFAULT ‘0000-00-00’