0
点赞
收藏
分享

微信扫一扫

PyCharm中连接MySQL服务报错【08001】

倚然君 2022-03-30 阅读 38


问题

[08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.

解决方案

时区问题,URL后面添加?serverTimezone=UTC

jdbc:mysql://10.36.172.81:3307/stu_db2?serverTimezone=UTC



举报

相关推荐

0 条评论