配置MyBatis配置文件的时候报错:
org.apache.ibatis.exceptions.PersistenceException:
### Error updating database. Cause: java.sql.SQLException: Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.
解决方案:
在url后面加上字符编码的设置
jdbc:mysql://localhost:3306/mybatis?characterEncoding=utf8
正常运行: