Improve the database setup on the installation #7984
Replies: 4 comments
-
This will get considerably easier once ADODB is removed; otherwise we need to support all the permutations for both PDO-based (Laravel) and MySQLi-based (ADODB) implementations (plus PostgreSQL equivalents). If you don't mind, unless this is a pressing community need, I'd rather defer until after we're able to remove ADODB (this will be a few more major releases). |
Beta Was this translation helpful? Give feedback.
-
No worries, I'm just flagging things as I see them. |
Beta Was this translation helpful? Give feedback.
-
We can't remove ADODB until we discard the <=3.3.0 upgrade process, unfortunately. Legacy upgrades up until that point use ADODB. I'm currently thinking to remove ADODB entirely when we hit the next LTS release, which may be 3.6.0. |
Beta Was this translation helpful? Give feedback.
-
Describe the problem you would like to solve
The default MySQL charset/collation (
utf8
/utf8_general_ci
) we're using might fail to insert some UTF8 characters.The solution involves upgrading the database to use
utf8mb4
.Considerations:
[database][collation]
configuration must match the[i18n][connection_charset]
at theconfig.inc.php
.utf8mb4_0900_ai_ci
, which is preferredutf8mb4_bin
utf8
Is there any reason to keep the Latin1 encoding?Latin1/ISO8859-1 references will be removed by the Revisit locale file loading #6328Beta Was this translation helpful? Give feedback.
All reactions