Java project even mysql times wrong: Java SQL. SQLException: Unknown character set index for field '255' received from the server.
Mysql version 8.0.12, jars mysql connector - Java - 8.0.12. Jar
Mysql code are utf8:
Establish a connection url also specifies the utf8:
Url="JDBC: mysql://localhost: 3306/XXX? useUnicode=true& CharacterEncoding=utf8 ";
What reason be excuse me
CodePudding user response:
https://blog.csdn.net/qq_38674645/article/details/81105266
Version of the problem
CodePudding user response:
But my jar package is official website of the latest
CodePudding user response: