by Ken Task.
And some more DB stuff ...
Series 4 will eventually require your DB to be utf8mb4 character set with utf8mb4_unicode_ci collation. May as well set that now rather than doing it right before an upgrade.
This for git acquired 3.11.18 (Build: 20231211) of code.
In code server/admin/cli/ run the following CLI only scripts.
They will use settings in config.php for DB.
checks.php, check_database_schema.php, mysql_collation.php, mysql_compressed_rows.php and mysql_engine.php.
DB for moodle should be character set utf8mb4 with collation utf8mb4_unicode_ci. Collation line in config.php should match the actual collation of the DB and tables in the DB.
Good idea to do a mysqldump of DB before using any of the scripts that change.
'SoS', Ken