title: magento : exception printing is disabled by default for security reasons
body: <p>I am currently using Magento version 1.7.0.2_2. While installing it's showing following errors:</p>
  
  <p>Exception printing is disabled by default for security reasons.</p>
  
  <p>Error log record number: 1970080033</p>
  
  <p>Error in file says:</p>
  
  <pre><code>a:5:{i:0;s:206:"Error in file: 
  "D:\websites\magento\app\code\core\Mage\SalesRule\sql\salesrule_setup\upgrade-1.6.0.0-1.6.0.1.php" - SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'period'"
  ;i:1;s:930:"
  #0 D:\websites\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...')
  #1 D:\websites\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(437): Mage_Core_Model_Resource_Setup-&gt;_modifyResourceDb('upgrade', '1.6.0.0', '1.6.0.3')
  #2 D:\websites\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(320): Mage_Core_Model_Resource_Setup-&gt;_upgradeResourceDb('1.6.0.0', '1.6.0.3')
  #3 D:\websites\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(235): Mage_Core_Model_Resource_Setup-&gt;applyUpdates()
  #4 D:\websites\magento\app\code\core\Mage\Core\Model\App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
  #5 D:\websites\magento\app\code\core\Mage\Core\Model\App.php(343): Mage_Core_Model_App-&gt;_initModules()
  #6 D:\websites\magento\app\Mage.php(683): Mage_Core_Model_App-&gt;run(Array)
  #7 D:\websites\magento\index.php(87): Mage::run('', 'store')
  #8 {main}"
  ;s:3:"url";s:9:"/magento/";s:11:"script_name";s:18:"/magento/index.php";s:4:"skin";s:7:"default";}
  </code></pre>
  
  <p>p.s.: however each time it shows a different error record number</p>