会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
大圣
孤独是上帝在提醒你,该充实自己了!!
博客园
首页
新随笔
联系
订阅
管理
2019年4月10日
使用JDBC连接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
摘要: 在连接字符串后面加上?serverTimezone=UTC 其中UTC是统一标准世界时间。 完整的连接字符串示例:jdbc:mysql://localhost:3306/test?serverTimezone=UTC 或者还有另一种选择:jdbc:mysql://127.0.0.1:3306/tes
阅读全文
posted @ 2019-04-10 09:56 大大大圣
阅读(189)
评论(0)
推荐(0)
编辑
公告