暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

磐维数据库连接第三方工具navicat

原创 道隐无名 2025-01-18
502

1 打开磐维数据库

[root@panweidbTest ~]# su - omm

[omm@panweidbTest ~]$ pw_ctl -D /database/panweidb/data/ start

2 telnet测试

2.1添加白名单

开通本机到服务器的白名单

[omm@panweidbTest ~]$ gs_guc reload -N all -I all -h 'host all all xx.xx.31.9/24 sha256'

The pw_guc run with the following arguments: [gs_guc -N all -I all -h host all all xx.xx.31.9/24 sha256 reload ].

Begin to perform the total nodes: 1.

Popen count is 1, Popen success count is 1, Popen failure count is 0.

Begin to perform gs_guc for datanodes.

Command count is 1, Command success count is 1, Command failure count is 0.

Total instances: 1. Failed instances: 0.

ALL: Success to perform gs_guc!

2.2 telnet测试

[root@localhost ~]# yum -y install telnet

[root@localhost ~]# telnet xx.xx.134.138 17700

Trying xx.xx.134.138...

Connected to xx.xx.134.138.

Escape character is '^]'.

^CConnection closed by foreign host.

3第三方工具测试

3.1 新建用户

postgres=# create user test1 PASSWORD "passwd";

CREATE ROLE

3.2 测试连接

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论