![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug
Tyrion49
学生
展开
-
idea连接mysql报错ERROR: Lost connection to MySQL server at ‘reading initial communication packet‘
标题idea连接mysql报错ERROR: Lost connection to MySQL server at ‘reading initial communication packet’ 出现原因:Mysql连接时间过长,且未进行操作 解决方案:重启mysql服务即可 使用管理员权限打开控制台 mysql关闭:net stop mysql mysql打开:net start mysql ...原创 2020-08-17 11:48:31 · 198 阅读 · 0 评论 -
[08001]IDEA连接mysql数据库错误
IDEA连接mysql数据库错误 Connection to @localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up. 产生原因 时区问题。mysql默认美国时区,在中国与之时区不对应 jdbc-connector版本 <dependency> <groupId>mysql</gro原创 2020-08-13 11:30:48 · 167 阅读 · 0 评论