jdbc.url=jdbc:mysql://localhost:3306/zhgxh?useUnicode=true&characterEncoding=ISO-8859-1
在链接后面加上
?useUnicode=true&characterEncoding=ISO-8859-1
本文详细介绍了如何使用JDBC连接MySQL数据库,并通过添加?useUnicode=true&characterEncoding=ISO-8859-1参数确保正确的字符集和编码。
jdbc.url=jdbc:mysql://localhost:3306/zhgxh?useUnicode=true&characterEncoding=ISO-8859-1
在链接后面加上
?useUnicode=true&characterEncoding=ISO-8859-1
1970

被折叠的 条评论
为什么被折叠?