MySQL 完整的 Unicode 支持问题:变量 'innodb_file_format' 是只读变量(MOODLE 3.10.1 安装)

MySQL full Unicode support issue : Variable 'innodb_file_format' is a read only variable ( MOODLE 3.10.1 Installation)

我想在本地服务器安装MOODLE 3.10.1 (xampp windows 10 pc) 以供自己学习。根据安装指南,我需要编译以下内容

“您的数据库使用 Antelope 作为文件格式。MySQL 完全支持 UTF-8,而 MariaDB 需要 Barracuda 文件格式。请切换到 Barracuda 文件格式。请参阅文档 MySQL完整的 Unicode 支持细节。"

根据 moodle 安装指南 (https://docs.moodle.org/310/en/MySQL_full_unicode_support),我 运行 以下 SQL 命令,但出现以下错误。

#1238 - Variable 'innodb_file_format' is a read only variable

PHP MYADMIN

的其他详细信息

我已经尝试卸载并重新安装,但它不起作用。在 PHP 7.1 版本中不会出现此问题,但需要安装 moodle PHP 7.2 或更高版本。

提前致谢。

如果选择 marriandb 而不是 mysqli,可以缓解此问题。在数据库中创建了一个名为 moodle 的 table,格式为 utf8mb4_general_ci 在上面的方法中不需要运行 sql 命令到UTF stands