连接数据库报错
Connection to demo@localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.
连接数据库报错
Connection to demo@localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.
处理

在URL后面加上?serverTimezone=GMT即可
本文解决了连接数据库失败的问题,通过在URL后添加?serverTimezone=GMT参数成功修复了连接错误。
778

被折叠的 条评论
为什么被折叠?



