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什么的

猜你喜欢

转载自www.cnblogs.com/hhm324/p/10797533.html