久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Magento 安裝抱怨 InnoDB 可用時丟失

Magento install complains about missing InnoDB when it is available(Magento 安裝抱怨 InnoDB 可用時丟失)
本文介紹了Magento 安裝抱怨 InnoDB 可用時丟失的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

在安裝過程中,Magento 產生以下錯誤:

<塊引用>

數據庫服務器不支持 InnoDB 存儲引擎.

我已經修復了 Magento 的所有依賴項,并在命令行上使用 SHOW ENGINES 對 MySQL 進行了雙重檢查,并且肯定有 InnoDB 可用(也是默認存儲引擎).

這不是訪問 MySQL 配置的問題,其他人在安裝時可能已經看到.

注意:這是在 Mac Pro 上運行的(對我正在開發的域名進行了簡單的主機 DNS 重寫).

解決方案

文件第59行app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php

替換:

公共函數 supportEngine(){$variables = $this->_getConnection()-> fetchPairs('顯示變量');return (!isset($variables['have_innodb']) || $variables['have_innodb'] != 'YES') ?假:真;}

這樣:

公共函數 supportEngine(){$variables = $this->_getConnection()-> fetchPairs('顯示引擎');返回 (isset($variables['InnoDB']) && $variables['InnoDB'] != 'NO');}

During installation, Magento produces the following error:

Database server does not support the InnoDB storage engine.

I've fixed all the dependancies for Magento, and double checked with MySQL on the command line using SHOW ENGINES and definitely have InnoDB available (also the default storage engine).

This isn't an issue about access to MySQL config which others might have seen on their install.

Note: This is running on a Mac Pro (with a simple hosts DNS rewrite for the domain name I am developing for).

解決方案

Line 59 of the file app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php

Replace:

public function supportEngine()
{
    $variables  = $this->_getConnection()
        ->fetchPairs('SHOW VARIABLES');
    return (!isset($variables['have_innodb']) || $variables['have_innodb'] != 'YES') ? false : true;
}

with this:

public function supportEngine()
{
    $variables  = $this->_getConnection()
        ->fetchPairs('SHOW ENGINES');
    return (isset($variables['InnoDB']) && $variables['InnoDB'] != 'NO');
}

這篇關于Magento 安裝抱怨 InnoDB 可用時丟失的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Override Magento Config(覆蓋 Magento 配置)
What would cause a print_r and/or a var_dump to fail debugging a variable?(什么會導致 print_r 和/或 var_dump 調試變量失敗?)
How to update custom options programatically in magento?(如何在 magento 中以編程方式更新自定義選項?)
Magento 404 on Admin Page(管理頁面上的 Magento 404)
Magento - get price rules from order(Magento - 從訂單中獲取價格規則)
Magento Change Product Page Titles to Include Attributes(Magento 更改產品頁面標題以包含屬性)
主站蜘蛛池模板: 四虎影院免费在线播放 | 成人免费观看视频 | 狠狠综合久久av一区二区小说 | av中文字幕在线观看 | 三级成人片 | 亚洲h视频 | 久久成人综合 | 国产日韩欧美另类 | 日韩欧美在线观看视频 | 久久久久久久久久毛片 | 欧美一区二区三区在线观看 | 国产99在线 | 欧美 | 日韩精品一区二区三区中文字幕 | 成人午夜精品 | 亚洲视频中文字幕 | 久久久久久网站 | 亚洲自拍一区在线观看 | 中文字幕在线第一页 | 亚洲一区视频在线 | 欧美综合一区 | 亚洲精品www久久久久久广东 | 91麻豆产精品久久久久久夏晴子 | 99re在线视频免费观看 | 毛片网站免费观看 | 成人一级视频在线观看 | 蜜臀av日日欢夜夜爽一区 | 欧美日韩精品在线一区 | 亚洲情综合五月天 | 国产日韩欧美在线播放 | 777zyz色资源站在线观看 | 欧美激情va永久在线播放 | 亚洲成av片人久久久 | 欧美成人精品 | 中文字幕不卡视频在线观看 | 婷婷狠狠 | 在线视频日韩精品 | 黄色欧美 | 成人影院网站ww555久久精品 | 99免费在线观看 | 伊人网伊人 | 久久黄网 |