使用mysql出现了乱码,导致数据查不到:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
解决办法如下:
需要的设置jdbcUrl的时候设置编码。

解决MySQL乱码问题
本文详细介绍了在使用MySQL时遇到的乱码问题及其解决方案。主要问题是由于时区配置不正确导致的数据查询失败,解决办法是在设置jdbcUrl时指定正确的编码。
4544

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



