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>

2 comments

  1. I thought you would like to know, it looks like you’ve misspelled the word “minimun” on your website. Silly mistakes can ruin your site’s credibility. In the past I’ve used a tool like SpellingScan.com to keep mistakes off my website.

    -Scott Matthews Sr.

Leave a comment