IntelliJ IDEA配置连接MySQL数据库出错

出现以下错误:

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

建议更换驱动版本,首先查看mysql版本(使用开始菜单按钮,查找mysql,看结果)

我的是5.1.7版本
换为mysql5.1.7驱动(点击Driver 后面的链接按钮进行选择)

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_39944559/article/details/93892104