mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #18392 -- Changed default mysql encoding to "utf8mb4".
This commit is contained in:
@@ -174,7 +174,9 @@ CSRF
|
||||
Database backends
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
* ...
|
||||
* MySQL connections now default to using the ``utf8mb4`` character set,
|
||||
instead of ``utf8``, which is an alias for the deprecated character set
|
||||
``utf8mb3``.
|
||||
|
||||
Decorators
|
||||
~~~~~~~~~~
|
||||
@@ -385,6 +387,14 @@ Dropped support for PostgreSQL 13
|
||||
Upstream support for PostgreSQL 13 ends in November 2025. Django 5.2 supports
|
||||
PostgreSQL 14 and higher.
|
||||
|
||||
Changed MySQL connection character set default
|
||||
----------------------------------------------
|
||||
|
||||
MySQL connections now default to using the ``utf8mb4`` character set, instead
|
||||
of ``utf8``, which is an alias for the deprecated character set ``utf8mb3``.
|
||||
``utf8mb3`` can be specified in the ``OPTIONS`` part of the ``DATABASES``
|
||||
setting, if needed for legacy databases.
|
||||
|
||||
Miscellaneous
|
||||
-------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user