Unknown character set: 'utf8mb4'

Posted 天之骄子zz

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Unknown character set: 'utf8mb4'相关的知识,希望对你有一定的参考价值。

问题描述:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown character set: ‘utf8mb4‘

出现问题时使用jar包:mysql-connector-java-5.1.39-bin.jar
修改jar包为:mysql-connector-java-5.1.22-bin.jar
问题解决!

以上是关于Unknown character set: 'utf8mb4'的主要内容,如果未能解决你的问题,请参考以下文章

Unknown character set: 'utf8mb4'

mysql:unknown variable 'default-character-set=utf8'

MySQL:Unknown character set:utf8mb4怎么解决?

Cause: java.sql.SQLException: Unknown initial character set index ‘255‘ received from server.

mysql: [ERROR] unknown variable 'default-character-SET=utf8'.

mysqlbinlog 查看binlog日志时报错unknown variable 'default-character-set=utf8'