简体   繁体   中英

Moodle convert database Baracuda

I'm trying to install moodle 3.3 and it does certains checks to make sure you can run it.

I'm currently stuck because it sees my database as Antelope. When trying to convert it to the newer Barracuda using this method , it says "no changes necessary".

So I'm stuck trying to install my new moodle.

I'm running PHP 7.0 and Mysql workbench 6.1 and mysql server 5.5. Running windows server 2008 R2.

You need to change your mysql settings. Edit your my.cnf file and add in [server] section

innodb_file_format=Barracuda;

Then restart MySQL.

open your config-> my.ini and add these lines. I hope it resolves your issue.

[client]

default-character-set = utf8mb4

[mysqld]

innodb_file_format = Barracuda

innodb_file_per_table = 1

innodb_large_prefix

character-set-server = utf8mb4

collation-server = utf8mb4_unicode_ci

skip-character-set-client-handshake

[mysql]

default-character-set = utf8mb4

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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