简体   繁体   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)

I want to install MOODLE 3.10.1 in the local server (xampp windows 10 pc) for my own learning.我想在本地服务器(xampp windows 10 pc)中安装 MOODLE 3.10.1 以供自己学习。 According to the installation guide I need to Compile the following根据安装指南我需要编译以下

"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." "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."

According to the moodle installation guide ( https://docs.moodle.org/310/en/MySQL_full_unicode_support ), I ran the following SQL command and I am getting the following error.根据moodle安装指南( https://docs.moodle.org/310/en/MySQL_full_unicode_support ),我运行了以下 SQL 命令,我收到以下错误。

#1238 - Variable 'innodb_file_format' is a read only variable #1238 - 变量 'innodb_file_format' 是只读变量

Other details of PHP MYADMIN PHP MYADMIN 的其他详细信息

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

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

I already tried uninstalling and reinstalling but it does not work.我已经尝试卸载并重新安装,但它不起作用。 In PHP 7.1 version this problem doesn't occur but moodle installation required PHP 7.2 or above.在 PHP 7.1 版本中不会出现此问题,但需要安装 Moodle PHP 7.2 或更高版本。

Thank you in advance.先感谢您。

This problem can be mitigated if selected the marriandb instead of mysqli.如果选择 marriandb 而不是 mysqli,则可以缓解此问题。 In the database created a table named moodle and with the formatting of utf8mb4_general_ci In the above method no need to run the sql commands to UTF stands在数据库中创建了一个名为moodle的表,格式为utf8mb4_general_ci在上述方法中,无需运行 sql 命令到 UTF 代表在此处输入图像描述

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

相关问题 MySQL 'innodb_file_format' 变量不存在 - MySQL 'innodb_file_format' variable doesn't exist Mysql全局变量'innodb_file_format'值在主服务器和从服务器上有所不同 - Mysql Global variable 'innodb_file_format' value differs in master and slave 更改MySQL innodb_file_format和large_prefix是否会对其他网站造成任何问题? - Will changing MySQL innodb_file_format and large_prefix cause any issues for other websites? 执行(SET GLOBAL innodb_file_format = barracuda)在命令中不起作用 - Execute (SET GLOBAL innodb_file_format = barracuda) is not working in command mySQL innodb_flush_method是只读变量 - mySQL innodb_flush_method is a read only variable 南迁移错误,InnoDB:ROW_FORMAT = DYNAMIC需要innodb_file_format>羚羊 - South migrate error, InnoDB: ROW_FORMAT=DYNAMIC requires innodb_file_format > Antelope MySQL错误:#1238-变量'innodb_lock_wait_timeout'是只读变量 - MySQL Error:#1238 - Variable 'innodb_lock_wait_timeout' is a read only variable 变量“ innodb_lock_wait_timeout”是只读变量 - Variable 'innodb_lock_wait_timeout' is a read only variable MYSQL innodb变量innodb_log_file_size值在5.6.32中不接受超过2GB的空间 - MYSQL innodb variable innodb_log_file_size value is not accepting more than 2GB in 5.6.32 在只读 mysql 数据库中声明变量 - Declare a variable in a read-only mysql database
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM