? ? Failure

User tests: Successful: Unsuccessful:

avatar Supun94
Supun94
12 Apr 2017

Pull Request for Issue #15189 .

Summary of Changes

Installation freezing issue happens if user has not enabled InnoDB support in database platform. During the installation time check if InnoDB support is enabled or not. If disabled display an Error message.

Testing Instructions

  • Disable InnoDB support in database platform and try 'Database Configuration' step and test.
  • Enable InnoDB support and try the same step.

Expected result

  • If disabled the InnoDB support you'll get an Error message 'You need to enable default InnoDB support in your database platform' and stay in the 'Database Configuration' step.
  • If enabled the InnoDB support go to the next page.

Actual result

If InnoDB support is disabled in database platform, installation freezing issue (#15189) happened.

Documentation Changes Required

None

avatar Supun94 Supun94 - open - 12 Apr 2017
avatar Supun94 Supun94 - change - 12 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Apr 2017
Category Installation Language & Strings
avatar zero-24
zero-24 - comment - 12 Apr 2017

Hi @Supun94 can you take a look into the drone report: http://213.160.72.75/joomla/joomla-cms/2665 ?

avatar zero-24 zero-24 - change - 12 Apr 2017
Labels Added: ? ?
avatar Supun94 Supun94 - change - 12 Apr 2017
Title
Issue#15189
Ensure that InnoDB support is enable in MySQL ( #15189 )
avatar Supun94 Supun94 - edited - 12 Apr 2017
avatar Supun94
Supun94 - comment - 12 Apr 2017

@zero-24 fixed it.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15258.

avatar zero-24 zero-24 - test_item - 15 Apr 2017 - Tested successfully
avatar zero-24
zero-24 - comment - 15 Apr 2017

I have tested this item successfully on 6da771e

Works good for me.

For anyone who wants to test this to enable myisam e.g. on xampp you need to add default-storage-engine = myisam in the mysql configuration file: http://stackoverflow.com/questions/3050492/how-can-i-set-default-storage-engine-used-by-mysql


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15258.

avatar csthomas csthomas - test_item - 15 Apr 2017 - Tested unsuccessfully
avatar csthomas
csthomas - comment - 15 Apr 2017

I have tested this item ? unsuccessfully on 6da771e

Description of PR is OK but php code is wrong.

There is two different things:

  • support for innoDB (in general)
  • default storage engine as innoDB

I installed Joomla on localhost (mysql 5.7) with default-storage-engine = myisam without patch without any problems.
After patched I can not install Joomla anymore with mentioned configuration.

This PR should check if support for innoDB is enabled but
now php code checks if default storage engine is set as innoDB.

Solution, replace:
if ($value != 'DEFAULT')
to:
if ($value == 'NO')


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15258.
avatar csthomas
csthomas - comment - 15 Apr 2017

Screen-shot:
obraz

There is also engine MEMORY which support is required.

avatar Supun94
Supun94 - comment - 19 Apr 2017

Thanks @csthomas !! Done the changes.

avatar csthomas csthomas - test_item - 19 Apr 2017 - Tested successfully
avatar csthomas
csthomas - comment - 19 Apr 2017

I have tested this item successfully on b8a0cd7

I tested only when InnoDB is supported as not default engine and it is OK.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15258.
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 May 2017

@zero-24 can you please retest?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15258.

avatar csthomas
csthomas - comment - 23 Aug 2017

May be there is someone who can do Joomla test installation on mysql with at least InnoDB enabled (by default).

avatar brianteeman
brianteeman - comment - 8 May 2018

I tried to test but I only have mysql 5.7 and it is not possible to disable innodb with 5.7

avatar csthomas
csthomas - comment - 8 Jun 2018

@brianteeman IMO is enough to make a review and check if it does not break anything on mysql with enabled InnoDB.

Otherwise, I do not see any future of this PR.

avatar brianteeman
brianteeman - comment - 8 Jun 2018

Perhaps but I will never personally mark that I have tested something and it is working unless I can replicate the problem

avatar csthomas
csthomas - comment - 8 Jun 2018

On mysql 5.7, it can not be replicated. InnoDB can be disabled on mysql <=5.6.21 only.

https://dev.mysql.com/doc/refman/5.6/en/innodb-turning-off.html

avatar brianteeman
brianteeman - comment - 8 Jun 2018

and thats exactly why i cannot test it

avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Apr 2019
Category Installation Language & Strings Installation
avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Apr 2019
Title
Ensure that InnoDB support is enable in MySQL ( #15189 )
Ensure that InnoDB support is enable in MySQL
avatar franz-wohlkoenig franz-wohlkoenig - edited - 19 Apr 2019
avatar joomla-cms-bot joomla-cms-bot - change - 19 Apr 2019
Category Installation Installation Language & Strings
avatar HLeithner
HLeithner - comment - 1 Jul 2019

Hi @Supun94,

thanks for the time you invested into this PR but I think there are some flaws in it (ex. works only for mysql driver and not for mysqli and pdo). Anyway in the meantime the mysql version in which you can disable InnoDB is EOL. That means check this makes less sense anymore.
But if you like to bring your PR up to date and support the other mysql drivers we can reevaluate it.

In the meantime I'm closing this PR, you can reopen it anytime.

thx for trying to make Joomla! more robust.

avatar HLeithner HLeithner - close - 1 Jul 2019
avatar HLeithner HLeithner - change - 1 Jul 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-07-01 22:32:29
Closed_By HLeithner
Labels Removed: J3 Issue

Add a Comment

Login with GitHub to post a comment