Mybatis数据库连接报错--Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.

Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.

》解决方法

在数据库地址后面加上编码方式useUnicode=true&characterEncoding=utf8

猜你喜欢

转载自www.cnblogs.com/Demetris/p/11642575.html