pycharm连接数据库出现时区jdbc问题

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.

 

搜了一下发现也没啥好方法,还以为是jdbc的问题,又开始弄jdbc还是不行,然后就去问了同学,事实证明,出了错误不能一个人瞎搞,多问问同学是有好处的!!!

http://www.pianshen.com/article/4771312428/

在cmd中进入mysql,设置时区,就搞好了,完全不用弄jdbc什么的

 

posted @ 2019-04-30 18:04  小小姐  阅读(1231)  评论(0编辑  收藏  举报