installer broken – check collation capability incorrect
-
Step 2 (Install Database) fails validation during “Check Collation Capability”:
This test checks to make sure this database can support the collations found in the dup-installer/dup-database__e1ff5c7-21063503.sql script.
Collations in dup-database__e1ff5c7-21063503.sql
utf8mb4_general_ci: Pass
utf8mb4_unicode_ci: Pass
utf8_general_ci: Fail`There’s a really big problem with this – the .sql does NOT call for utf8_general_ci ! It is not explicitly enumerated in the sql so I’m guessing the installer is somehow inferring that it is needed. That is incorrect.
In the sql we can see utf8mb4 explicitly identified as the default charset. Hence the correct inference of the utf8mb4 general and unicode collations. Nowhere is utf8 identified. So why is the installer checking for utf8_general_ci??
This is a pretty serious bug because it completely breaks the installer. Maybe it’s possible to hack around this by modifying the sql, but that seems dangerous and should not be necessary. Is there a fix for this in the latest installer.php? If so, is that installer.php ok to use with my older backup set?
Any new installer.php should also be compatible with php8.1 – the old one is not (the fixes are pretty minor though).
- The topic ‘installer broken – check collation capability incorrect’ is closed to new replies.