使用rails 4 、mariadb 之后,必须在database.yml 中配置上host,不然会一直报 if you set the charset manually, make sure you have a matching collation)