1. 问题描述 今天有一台服务器运行Rails项目遇到MySQL报错Character set ‘utf8mb4’ is not a compiled character set and is not specified in the ‘/usr/share/mysql/charsets/Index.xml’ file 详细异常如下: [[email protected] production]$ rails c :linux Character set ‘utf8mb4’ is not a compiled character set and is not specified in the ‘/usr/share/mysql/charsets/Index.xml’ file /home/blogbin/.rvm/gems/[email protected]/gems/mysql2-0.3.20/lib/mysql2/client.rb:70:in `connect’: Can’t initialize character set utf8mb4 (path:… Continue Reading Rails项目遇到MySQL报错Character set ‘utf8mb4’ is not a compiled character set