DBeaver 连接mysql 报错:The driver has not received any packets from the server.
DBeaver 连接不上mysql ,提示:The driver has not received any packets from the server.
有时候也报 The driver has not received any packets from the server.
检查了数据接地址,端口,用户密码都是正确的。
我的连接信息如下图:
我查了一下,网上基本都说是mysql的配置问题或者端口问题。然后我对比了一下我之前连接的数据库,发现了个乌龙。原来我连接设置里的“数据库”字段,应该为空。而我填了东西,我又测试了一下,发现“数据库”字段不管是地址还是名称都会报错,只有为空的时候才能正常连接。所以,这个字段存在的意义在哪呢?
如下图,才是正确的连接方式。