adi_2016 Posted July 6, 2016 Share Posted July 6, 2016 (edited) Hi, is it possible to install prestashop with MyISAM engine preselected instead of InnoDB. If yes, how? I had many errors with InnoDB so my hosting provider recommended MyISAM. Any help is appreciated and many thanks i advance.Adi Edited July 6, 2016 by adi_2016 (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted July 6, 2016 Share Posted July 6, 2016 PS has been changed to check for InnoDB support automatically and use it. Looks like the easiest way is to override this behavior is to change the following file located in the install folder \install\models\install.php locate the function named generateSettingsFile public function generateSettingsFile($database_server, $database_login, $database_password, $database_name, $database_prefix, $database_engine) Inside that function you will see the following '_MYSQL_ENGINE_' => $database_engine, change it to this '_MYSQL_ENGINE_' => 'MyISAM', Then run the install 1 Link to comment Share on other sites More sharing options...
adi_2016 Posted July 7, 2016 Author Share Posted July 7, 2016 Hi bellini13, thank you very much, I will try that and let you know if it works. I also found this topic in meantime, perhaps someone will find it useful in future http://doc.prestashop.com/display/PS16/Installing+PrestaShop+using+the+command-line+script Cheers,Adi 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