标签:
找到文件app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php的第59行:
将
public function supportEngine() { $variables = $this->_getConnection() ->fetchPairs(‘SHOW VARIABLES‘); return (!isset($variables[‘have_innodb‘]) || $variables[‘have_innodb‘] != ‘YES‘) ? false : true; }
替换为:
public function supportEngine() { $variables = $this->_getConnection() ->fetchPairs(‘SHOW ENGINES‘); return (isset($variables[‘InnoDB‘]) && $variables[‘InnoDB‘] != ‘NO‘); }
Magento安装时数据库不支持InnoDB存储引擎问题的解决
标签:
原文地址:http://my.oschina.net/mogralee/blog/375899