jpazsedano Posted July 5, 2019 Share Posted July 5, 2019 Hi. I'm installing Prestashop 1.7 from the official docker image (prestashop/prestashop:1.7). While installing, I'm getting the following error: Storage engine MyISAM is disabled (Table creation is disallowed). But when I search how to configure Prestashop to use InnoDB, everyone says that InnoDB is used by default and that it's the best option. And no one says where is that cofiguration option. But that doesn't solve my problem, because for some reason, Prestashop is NOT using InnoDB by default. And that's what I want to use. So, how can I force Prestashop to use InnoDB? Thanks in advance. Link to comment Share on other sites More sharing options...
PrestaPros Posted January 8, 2020 Share Posted January 8, 2020 Hi, try change: /classes/db/DbMySQLi.php or /classes/db/DbPDO.php, method: checkCreatePrivilege from: if ($engine === null) { $engine = 'MyISAM'; } to if ($engine === null) { $engine = 'InnoDB'; } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now