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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM