Exception in thread "main" java.sql.SQLException: Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.

解决方法:

?useUnicode=true&characterEncoding=utf-8

在url路径上加上这句话

原文地址:https://www.cnblogs.com/xzsblog/p/11635279.html