-
Notifications
You must be signed in to change notification settings - Fork 267
Closed
Description
Description
With a database that has been installed as ie. urf8mb4 the SMF 2.1 installation creates all tables as 3-Byte UTF8 and does not conform to the default database setting/structure.
Steps to reproduce
- Create utf8mb4_unicode_ci database
- Change database type in Settings.php file to utf8mb4 (set $db_mb4 variable as true)
- Run the SMF 2.1 installer
- Use a database client (ie. phpmyadmin) to view table structure of the database tables that SMF 2.1 created
Environment (complete as necessary)
- Version/Git revision: Current
- Database Type: MySQL / MariaDB
- Database Version: MySQL 8.0.12 / MariaDB 10.3.10
- PHP Versions: PHP 5.6 - PHP 7.2.11
Additional information/references
The settings variable should have the behavior of forcing the SMF 2.1 installer to create tables as utf8mb4. In my opinion it is possible to read the database default value and use that instead of relying on the variable in Settings.php. In either case the installation process fails to create the tables as utf8mb4.
Reactions are currently unavailable