繁体   English   中英

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)

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

"Your database uses Antelope as the file format. Full UTF-8 support in MySQL and MariaDB requires the Barracuda file format. Please switch to the Barracuda file format. See the documentation MySQL full Unicode support for details."

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

#1238 - 变量 'innodb_file_format' 是只读变量

PHP MYADMIN 的其他详细信息

  • PHP 版本 7.3.26
  • 系统 Windows NT DESKTOP-LTTS1D7 10.0 build 18363 Windows 10) AMD64
  • 建造日期 2021 年 1 月 5 日 15:04:15
  • 编译器 MSVC15(Visual C++ 2017)

Moodle安装指导图片 出现错误代码的屏幕截图 XAMPP 服务器映像

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

先感谢您。

如果选择 marriandb 而不是 mysqli,则可以缓解此问题。 在数据库中创建了一个名为moodle的表,格式为utf8mb4_general_ci在上述方法中,无需运行 sql 命令到 UTF 代表在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM