Home » Interview Question » Magento installation problem “Database server does not support InnoDB storage engine”

Magento installation problem “Database server does not support InnoDB storage engine”

Magento installation problem “Database server does not support InnoDB storage engine”

db engine not support

When we install Magento 1.6 or 1.7 we are geatting “Database server does not support InnoDB storage engine”.To resolve this problem follow below steps.

  1. Go To app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php in your magento installation directory and open (Mysql4.php) file in your editor.
  2. Find the function supportEngine in Mysql4.php file. Or go to Directly line No 59.

And Replace this function code with below Line of code.

Now delete Your Cache from your magento installation directory(D:\xamp\htdocs\magento17\var\cache).and complete your magento installation. Once your magento installation is comple revert your change which you have done in Mysql4.php file.Because We can't be changes in Magento core file.

Method 2: If you are not able to complete installation.Follow over second Method.

  1. Go To app/code/core/Mage/Install/etc/config.xml
  2. Open config.xml file in any editor.
  3. Go To line no 68 OR find <pdo_mysql/>
  4. Replce <pdo_mysql/> to <pdo_mysql>1</pdo_mysql>
  5. Remove Cache and Complete your installation. after complete your magento installation revet these changes.
, , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">