java 中文写入mysql变乱码

    xiaoxiao2021-04-16  32

    jdbc:mysql://127.0.0.1:3306/FDSS?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull 在调试时,中文都正常,但在执行插入后,数据库就变乱码。原因是数据库字符连接串后面少了字符类型。

    转载请注明原文地址: https://ju.6miu.com/read-673159.html

    最新回复(0)