magento1.6.1.0和magento1.7.0.2安装时提示:Database server does not support the InnoDB storage engine的解决办法
2013-06-24 10:34
1281 查看
打开app\code\core\Mage\Install\Model\Installer\Db\Mysql4.php文件,编辑supportEngine方法,在原方法中的return前添加以下代码:
报错的原因是因为Mysql 5.6版本已经已经丢弃了“have_innodb”这个函数.而Magento1.7.0.2以下,都是使用该函数检测Mysql是否激活了InnodB引擎。
转自http://www.magentochina.org/blog/tag/%E5%AE%89%E8%A3%85/
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://www.magentochina.org/blog/tag/%E5%AE%89%E8%A3%85/
相关文章推荐
- 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
- Database server does not support the InnoDB storage engine MAGENTO 安装提示错误
- 安装concrete时提示“...database does not support InnoDB database tables..."如何解决
- 安装concrete时提示“...database does not support InnoDB database tables..."如何解决
- MYSQL 新版出现" Client does not support authentication protocol requested by server; consider upgrading MySQL client"解决办法
- 解决The Apache Axis2 Web service runtime in Tomcat v7.0 Server does not support the service project 问题
- 串口调试,提示the given port name does not start with COM/com异常解决办法,,发现是打印机在搞怪
- Python 3中套接字编程中遇到TypeError: 'str' does not support the buffer interface的解决办法
- Python 3中套接字编程中遇到TypeError: 'str' does not support the buffer interface的解决办法
- Mysql 连接提示 Client does not support authentication protocol requested by server; consider upgrading MySQL client 解决方法
- linux下mysql的卸载、安装全过程及遇到"MySQL提示:The server quit without updating PID file问题的解决办法"
- 进行SSM框架开发中遇到JSTL标签提示:"items" does not support runtime expressions解决办法
- python ‘str’ does not support the buffer interface解决办法
- Unity3d 提示 "The scripts file name does not match the name of the class defined in the script!"的解决办法
- 解决The Apache Axis2 Web service runtime in Tomcat v7.0 Server does not support the service project 问题
- U盘安装centos 7 提示 “Warning: /dev/root does not exist, could not boot” 解决办法
- U盘安装centos 7 提示 “Warning: /dev/root does not exist, could not boot” 解决办法
- MongoDB学习—(1)安装时出现The default storage engine 'wiredTiger' is not available问题解决
- eclipse 中项目->run as->run on server无法在tomcat6下运行,提示The server does not support version 3.0 of the J2E