执行SQL脚本报错“Unknown character set: 'utf8mb4'”

执行 SQL 脚本报错:

shell 下执行 mysql 命令一样报错:

# mysql --host=10.10.22.138 --port=4000 --user=root --password=root123 < error-dump.sql 
ERROR 1115 (42000) at line 158: Unknown character set: 'utf8mb4'

脚本内容:
error-dump.zip (1.3 KB)

TiDB 版本:

Release Version: v4.0.5
Edition: Community
Git Commit Hash: 9c1c21270001a0084dcb5d842c50e1fbea5d1fa8
Git Branch: heads/refs/tags/v4.0.5
UTC Build Time: 2020-08-28 10:07:42
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false