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-2026 CODEPRJ.COM