Jump to content

Installing prestashop with MyISAM engine preselected


Recommended Posts

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

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...