大佬,使用dbeaver连接工具连接OceanBase出错了

【产品名称】OceanBase v3.0.1

【产品版本】OceanBase v3.0.1

【问题描述】就是我使用 obclient -h127.0.0.1 -P2881 -uroot 进入了OceanBase兼容mysql租户的模式,使用了OceanBase数据库,我觉得是安装好了。(也许没安装好)

然后我使用Dbeaver连接工具尝试连接OceanBase;是windows系统下连接liunx系统下的OceanBase数据库;相关填写如下

服务器地址:127.0.0.1 或是 远程连接的ip地址(10.30.80.88) 都使用过

端口:2883

数据库:OceanBase

用户名:root@租户c1(集群名)

是直接用mysql进行连接的,驱动也是mysql-5.7.19

测试连接出的错误:

Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

Connection refused: connect

Connection refused: connect

obclient -h127.0.0.1 -P2881 -uroot 

你端口是2881


你后面用dbeaver 端口用的是2883, 2个端口不一致

那登录OceanBase的mysql模式需要密码吗?密码是原服务器的密码吗?谢谢大佬。

连接串可以登陆的话。是没问题。
你这个端口写的不一致,用户名的话,用:用户名@租户名试试看