IDEA 添加Database 提示Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon

IDEA 添加Database 提示Server returns invalid timezone. Go to ‘Advanced’ tab and set 'serverTimezon

我们如果通过Intellij idea 之中的Database 管理MySQL数据库时,

然后提示Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon 错误时,该如何处理?

IDEA 添加Database 提示Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon
端口正常,Host 正确,User 正确,password 正确。这种情况下,提示时区。

这主要是驱动挂载的问题。 而不用到mysql之中设置时区。

在这里,将Driver 驱动设置为MySQL for 5.1 就可以了IDEA 添加Database 提示Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon

如果没有该驱动,会自动进行下载加载
IDEA 添加Database 提示Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezon
确保正确就可以了。