在/ect/my.cnf文件中[mysqld]区域中添加default-character-set=utf8
JDBC连接时URL时添加“?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull”
转载于:https://blog.51cto.com/java2013/1686894
在/ect/my.cnf文件中[mysqld]区域中添加default-character-set=utf8
JDBC连接时URL时添加“?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull”
转载于:https://blog.51cto.com/java2013/1686894