4

I'm trying to install Magento Community Edition for my latest project on our server, however, the hosting platform we are currently using doesn't, and won't let us, install or utilise InnoDB.

Is anyone aware of any configuration/changes that can be done to make it work any other way?

4

2 回答 2

6

Magento 是开发出来的,应该在交易安全的环境中使用。

您可以尝试切换到其他一些事务安全的数据库(如 Oracle),但是您需要自己为 Oracle 编写 PDO 适配器和资源模型(它们不是 Magento 的一部分)。但是,如果您的提供商甚至不支持InnoDB,我不相信他会支持 Oracle 或类似的^^

另一种可能性是让 Magento 能够与非事务性 mySQL 引擎(如MyISAM. 您需要重写许多流程、核心模型和控制器以将 Magento 从事务行为更改为非事务行为。

这不仅需要大量的工作,而且我几乎可以肯定,每次尝试升级 Magento 版本时都会获得很多乐趣。我强烈建议不要以这种方式改变核心。

唯一支持事务的 mySQL 引擎是InnoDBNDB. Magento 仅提供InnoDB. 因此,如果您问我,如果您的提供商出于任何原因不允许InnoDB,我建议您转到另一个允许的提供商。

于 2012-05-21T10:11:45.693 回答
0

I was trying to install Magento 1.9 CE on my own development server. Eventually the Magento Downloader incorrectly stated that InnoDB is not the default database engine. This was the issue I had when installing Magento CE.

Yes, it is true that MariaDB, a binary compatible replacement for MySQL uses xtradb rather than innodb as its engine.

https://mariadb.com/kb/en/mariadb/xtradb-and-innodb/

However, I am tempted to conclude the problem lies in Magento: Magento install complains about missing InnoDB when it is available

于 2015-06-19T21:09:13.530 回答