找到文件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‘); }
时间: 2024-07-30 23:42:52