久久久久久久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 更改產品頁面標題以包含屬性)
主站蜘蛛池模板: 中国免费黄色片 | 日韩中文字幕高清 | 欧美最猛性xxxxx亚洲精品 | 欧美精品综合 | 国产福利小视频 | 91久久久久久久久久久久久 | 成人av在线播放 | 亚洲精品一二区 | 国产欧美精品一区二区三区 | 中文日韩字幕 | 成人超碰 | 精品久久久一区二区 | 国产高清av免费观看 | 日韩高清国产一区在线 | 日韩精品福利 | 一二三四在线视频观看社区 | 一区二区三区在线免费观看视频 | 夜夜骑首页 | 久久黄色网 | 在线观看免费福利 | 欧美国产一区二区 | 在线区| 午夜视频免费在线观看 | 91麻豆精品国产91久久久久久久久 | 欧美精品一区二区三区蜜桃视频 | 国产乱xxav | 蜜桃精品视频在线 | 一区二区三区视频在线观看 | 欧美精品久久久久 | 中文字幕高清在线 | 精品国产乱码久久久久久图片 | 波多野结衣一区二区 | 午夜黄色 | av影音资源 | 久久天天| 蜜月aⅴ免费一区二区三区 99re在线视频 | 毛片a级毛片免费播放100 | 中文字幕国产日韩 | 午夜视频一区二区三区 | 日韩欧美亚洲一区 | 啪啪免费网站 |