SQL ERROR: Unknown system variable 'GTID_PURGED' | Unknown collation: ‘utf8mb4_unicode_520_ci’

 Need remove all lines with GTID_PURGED

sed -i '/@@GLOBAL.GTID_PURGED=/d' your_file.sql

The final file will load without problems




Open the sql file in your text editor;

1. Search: utf8mb4_unicode_ci Replace: utf8_general_ci (Replace All)

2. Search: utf8mb4_unicode_520_ci Replace: utf8_general_ci (Replace All)

3. Search: utf8mb4 Replace: utf8 (Replace All)

Save and upload!

留言

此網誌的熱門文章

Install Drupal 10 with composer in XAMPP htdocs OR PHP Command

fix drupal 11 install error

[custom block module]Correcting Heredoc Syntax and Attaching JS