Magento installation problem “innoDB storage engine is not supported”

Problem:
The installation of Magento gives with the connection to the database following report: “innoDB storage engine is not supported”.

Solution:
A part of the source code must be commented out in the file Db.php.

In the file

/magento/app/code/core/mage/install/model/installer/Db.php

line 73:

<span style="font-size: x-small;">if (! isset ($variables ['have_innodb']) || $variables ['have_innodb']! = 'YES') {</span>

<span style="font-size: x-small;">Mage:: throwException (Mage:: helper ('install')-&gt; __ ('Database server does not support InnoDB storage engine'));</span>

<span style="font-size: x-small;">} </span>

simply comment out:

<span style="font-size: x-small;">//check InnoDB support
//if (! isset ($variables ['have_innodb']) || $variables ['have_innodb']! = 'YES') {
//Mage:: throwException (Mage:: helper ('install')-&gt; __ ('Database server does not support InnoDB storage engine'));
//}</span>