簡體   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