【问题标题】:Moodle Installation Character setMoodle 安装字符集
【发布时间】:2019-01-14 14:51:53
【问题描述】:

我有 Moodle 3.2.3 版本,我将我的网站转移到另一个托管服务提供商并想安装并升级系统 3.62。

安装时“Checks”页面出现错误,如下所示:

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.

For full support of UTF-8 both MySQL and MariaDB require you to change your MySQL setting
'innodb_large_prefix' to 'ON'. See the documentation for further details.

错误修复页面:https://docs.moodle.org/33/en/MySQL_full_unicode_support#File_format

Screen Shoot

我使用 CPanel 和 phpMyAdmin 并使用 Navicat 程序进行管理。

我将如何通过这些检查?谢谢。

【问题讨论】:

  • 如果 Moodle 没有盲目创建VARCHAR(255),则不需要这些说明。

标签: php mysql utf-8 installation moodle


【解决方案1】:

Moodle 文档中有将格式转换为梭子鱼的说明:https://docs.moodle.org/en/Administration_via_command_line#Converting_InnoDB_tables_to_Barracuda

您需要命令行访问权限才能运行这些脚本(强烈建议您使用命令行访问权限来运行 Moodle 站点)。

【讨论】:

  • 感谢您的评论。但是,如果我们无法访问命令行或 shell,我们会怎么做?
  • 第一个建议是找到一个允许 CLI 访问的托管服务提供商 - 一个专门的 Moodle 托管服务提供商应该允许这样做(你可能希望使用一个专门的提供商,除非这只是一个非常小的测试地点)。如果没有,那么谷歌搜索建议:darrenoneill.eu/?p=194(但我没有尝试过)。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-03-10
  • 1970-01-01
  • 2022-11-17
  • 1970-01-01
  • 1970-01-01
  • 2018-06-27
相关资源
最近更新 更多