magento 安装时 Database server does not support the InnoDB storage engine 的解决办法
2013-10-26 12:31
621 查看
打开app\code\core\Mage\Install\Model\Installer\Db\Mysql4.php文件,编辑supportEngine方法,在原方法中的return前添加以下代码:
报错的原因是因为Mysql 5.6版本已经已经丢弃了“have_innodb”这个函数.而Magento1.7.0.2以下,都是使用该函数检测Mysql是否激活了InnodB引擎。
转自 http://blog.csdn.net/ligaofeng/article/details/9159245
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
相关文章推荐
- magento1.6.1.0和magento1.7.0.2安装时提示:Database server does not support the InnoDB storage engine的解决办法
- Database server does not support the InnoDB storage engine MAGENTO 安装提示错误
- MAGENTO安装提示错误Database server does not support the InnoDB storage engine - 让Magento1.7.0.2支持Mysql5.6
- 安装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"解决办法
- Python 3中套接字编程中遇到TypeError: 'str' does not support the buffer interface的解决办法
- MongoDB学习—(1)安装时出现The default storage engine 'wiredTiger' is not available问题解决
- Python 3中套接字编程中遇到TypeError: 'str' does not support the buffer interface的解决办法
- 解决The Apache Axis2 Web service runtime in Tomcat v7.0 Server does not support the service project 问题
- Python 3中套接字编程中遇到TypeError: 'str' does not support the buffer interface的解决办法
- Python 3中套接字编程中遇到TypeError: 'str' does not support the buffer interface的解决办法
- Qmake does not support build directories below the source directory 解决办法
- 解决The Apache Axis2 Web service runtime in Tomcat v7.0 Server does not support the service project 问
- 在k8s中安装flannel的故障解决: Failed to create SubnetManager: error retrieving pod spec for : the server does not allow access to the requested resource
- python ‘str’ does not support the buffer interface解决办法
- 解决The Apache Axis2 Web service runtime in Tomcat v7.0 Server does not support the service project 问题
- Python 3中套接字编程中遇到TypeError: 'str' does not support the buffer interface的解决办法
- Python 3中套接字编程中遇到TypeError: 'str' does not support the buffer interface的解决办法
- Ubuntu 安装joomla出错(Could not connect to the database. Connector returned number: The MySQL adap)解决办法