PyCharm——[08001] Could not create connection to database server. Attempted reconnect 3 times.

    使用PyChram編輯器鏈接MySql數據庫時報錯:[08001] Could not create connection to database server. Attempted reconnect 3 times. 如圖所示: 錯誤原因是並未設置時區,將時區設置爲GMT(格林尼標準時間)即可。 在URL後添加: ?serverTimezone=GMT,如圖所示
相關文章
相關標籤/搜索