PyCharm连接MySQL报错

admin 2019-10-31 01:55:03 0 0 Datebase 443 复制链接

Error:Connection to django1@localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.

image.png

提示:server time zone unrecognized,即服务器时区设置无法识别


解决:在URL后面加上serverTimezone参数指定时区

image.png



评论(0)

    还没有评论,快来抢沙发吧!