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!
留言
發佈留言