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.
解决方法:
只需要在URL的最后面加上?useUnicode=true&characterEncoding=utf-8