[FEATURE] Use utf8mb4 on mysql for new instances 40/56440/10
authorLienhart Woitok <lienhart.woitok@netlogix.de>
Fri, 23 Mar 2018 12:54:40 +0000 (13:54 +0100)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Tue, 11 Sep 2018 15:30:33 +0000 (17:30 +0200)
commited806ef550a63d9034bf4edba8b38b92b1fd71ed
tree4d1f52eda303179626bb9c91265219c87ce8ff82
parentb46dcbf3ee5d8552d8202d36cacf7bf60974781e
[FEATURE] Use utf8mb4 on mysql for new instances

If installing a new TYPO3 instance on mysql, utf8mb4 is now used as
default charset for the database connection and as default collation.

Upgraders may change LocalConfiguration to use utf8mb4, too. They
however need to take care of changing their collations and setting
according table detaults on their own.

A reports status check verifies there is no mixed collation.

Resolves: #80398
Resolves: #82080
Resolves: #82551
Releases: master
Change-Id: I6bf464a22c6ed74631bf5aacff9c2cfe670077da
Reviewed-on: https://review.typo3.org/56440
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Lienhart Woitok <lienhart.woitok@netlogix.de>
Tested-by: Lienhart Woitok <lienhart.woitok@netlogix.de>
Reviewed-by: Georg Gro├čberger <garfieldius67@gmail.com>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/core/Classes/Database/Schema/ConnectionMigrator.php
typo3/sysext/core/Documentation/Changelog/master/Feature-80398-Utf8mb4OnMysqlByDefaultForNewInstances.rst [new file with mode: 0644]
typo3/sysext/core/Resources/Private/Sql/Cache/Backend/Typo3DatabaseBackendCache.sql
typo3/sysext/core/Resources/Private/Sql/Cache/Backend/Typo3DatabaseBackendTags.sql
typo3/sysext/core/ext_tables.sql
typo3/sysext/frontend/ext_tables.sql
typo3/sysext/install/Classes/Controller/InstallerController.php
typo3/sysext/redirects/ext_tables.sql
typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php
typo3/sysext/reports/Resources/Private/Language/locallang_reports.xlf