magento 安装时 Database server does not support the InnoDB storage engine 的解决办法
来源:互联网 发布:js 文字相似度 编辑:程序博客网 时间:2024/06/06 20:04
打开app\code\core\Mage\Install\Model\Installer\Db\Mysql4.php文件,编辑supportEngine方法,在原方法中的return前添加以下代码:
if (!isset($variables['have_innodb'])) { $engines = $this->_getConnection()->fetchPairs('SHOW ENGINES'); return (isset($engines['InnoDB']) && ($engines['InnoDB'] == 'DEFAULT' || $engines['InnoDB'] == 'YES')); }
报错的原因是因为Mysql 5.6版本已经已经丢弃了“have_innodb”这个函数.而Magento1.7.0.2以下,都是使用该函数检测Mysql是否激活了InnodB引擎。
转自http://blog.csdn.net/ligaofeng/article/details/9159245
- magento 安装时 Database server does not support the InnoDB storage engine 的解决办法
- MAGENTO安装提示错误Database server does not support the InnoDB storage engine - 让Magento1.7.0.2支持Mysql5.6
- magento1.6.1.0和magento1.7.0.2安装时提示:Database server does not support the InnoDB storage engine的解决办法
- 安装concrete时提示“...database does not support InnoDB database tables..."如何解决
- 1286 Unknown storage engine 'InnoDB'的解决办法
- Default storage engine (InnoDB) is not available解决办法
- Default storage engine (InnoDB) is not available解决办法
- Default storage engine (InnoDB) is not available导致mysql无法启动的解决办法
- 针对phpstudy安装的时候出现 unknown storage engine innodb
- 针对phpstudy安装的时候出现 unknown storage engine innodb
- The server does not support version 3.0 of the J2EE Web module specification 的改进方法
- python ‘str’ does not support the buffer interface解决办法
- tomcat报错:The server does not support version 3.0
- mongodb 安装时出错 the defualt storage engine "wiredTiger" is not available 问题解决
- run on server的时候,报出The server does not support version 3.0 of the J2EE Web module specification
- mysql安装配置问题Default storage engine (InnoDB) is not available
- service redis does not support chkconfig的解决办法
- service redis does not support chkconfig的解决办法
- Hibernate Tutorial 11 - Configuring Collections and Adding Keys --Continued
- nyoj-844-A+B Problem(V)
- 第9周项目1--分段函数的求值(解法②)
- C语言 杭电POJ 1091 A+B for Input-Output Practice (III)
- uva 10183 - How Many Fibs?(斐波那契数)
- magento 安装时 Database server does not support the InnoDB storage engine 的解决办法
- 老年群体却无人注意他们的消费能力
- android开发环境搭建
- ASP.NET 4.0在IIS6原生支持没有后缀名的URL请求
- leetcode Insert Interval
- 第9周项目2--构建菜单
- 数据结构之(图之最小生成树)Kruskal(克鲁斯卡尔)算法
- 计算机求职总结--准备篇
- 百度云网盘 360云盘 金山快盘 等 + Git GUI 实现代码版本管理-个人篇