Correcting order of queries in update sql + wrong alias char in joomla.sql #8376
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See #8374
When updating, in 3.5.0-2015-07-01.sql, the alias collation to utf8mb4_bin has to be modified AFTER the table changes to utf8mb4_general_ci
To test: install a clean 3.4.5, then download https://github.com/joomla/joomla-cms/releases/download/3.5.0-beta/Joomla_3.5.0-beta-Beta-Update_Package.zip , unzip and replace ROOT/administrator/components/com_admin/sql/updates/mysql/3.5.0-2015-07-01.sql by the modified file. Zip again.
Then install the update via Extensions=>Update
There will be one issue to fix (related to user_profile) in Database Fix (see below)
Then in PHPMyadmin, export your database.
The alias definitions will now correctly be:
The PR also corrects some alias
varchar
when installing a clean full 3.5.0. They should be 191 and not 255.This PR does NOT solve the other issue reported in #8374
i.e.
(From file 3.3.4-2014-08-03.sql.)