Unknown initial character set index '255' received from server. Initial client character set can be

mysql的连接错误,在网上查找到是编码不匹配的原因,

直接在连接的URL后加上?useUnicode=true&characterEncoding=utf8就可以了

posted @ 2018-09-07 12:09  兰博丶专属  阅读(3986)  评论(0编辑  收藏  举报