app/code/core/Mage/Install/Model/Installer/Db/Mysql4.phpphp
打开以上文件 找到以下代码,添加一个判断便可mysql
/** * Check InnoDB support * * @return bool */ public function supportEngine() { $variables = $this->_getConnection() ->fetchPairs('SHOW VARIABLES'); //添加以下判断便可 if ($variables['storage_engine'] == 'InnoDB') return true; return (!isset($variables['have_innodb']) || $variables['have_innodb'] != 'YES') ? false : t rue; }
由于mysql 5.6的变量描述有变化,因此致使Magento安装过程当中 检测失败sql
简记备忘 :) app
若是想更简单的解决,也能够直接移除其余代码 直接 return true; :)ide