简体   繁体   English

DBeaver在连接中只能看到默认的PostgreSQL数据库

[英]DBeaver can only see default PostgreSQL database in connection

I use DBeaver v 5.2.5 on Windows and use it to connect to PostgreSQL databases.我在 Windows 上使用 DBeaver v 5.2.5 并用它连接到 PostgreSQL 数据库。

To create a connection, I must specify the database and I have no mean to see other databases on the same server.要创建连接,我必须指定数据库,而且我没有办法在同一台服务器上看到其他数据库。

A colleague using DBeaver 5.3 on Mac has an option to see all databases, not just the default one.一位在 Mac 上使用 DBeaver 5.3 的同事可以选择查看所有数据库,而不仅仅是默认数据库。

Is there an equivalent setup on the windows version? windows 版本是否有等效设置?

在连接上,右键单击 -> Edit connection -> Connection settings -> 在选项卡式面板上,选择PostgreSQL ,选中Show all databases框。

2023 Update... 2023更新...

  1. Right-click on your connection右键单击您的连接
  2. Click "Edit connection"点击“编辑连接”
  3. Left panel, click "Connection settings"左侧面板,单击“连接设置”
  4. Select PostgreSQL tab Check the box "Show all databases" Select PostgreSQL 选项卡选中“显示所有数据库”框

在此处输入图像描述

在此处输入图像描述

Today I had to reinstall DBeaver on a new machine and this time, I let DBeaver download the postgresql drivers.今天我不得不在一台新机器上重新安装 DBeaver,这一次,我让 DBeaver 下载了 postgresql 驱动程序。

In this case, I can see the other databases so I can only assume that it was due to the jdbc drivers I loaded在这种情况下,我可以看到其他数据库,所以我只能假设这是由于我加载的 jdbc 驱动程序

The same problem in DBeaver 21.3.1, Postgress 14.1 installed with brew on MacOS Catalina. DBeaver 21.3.1 中存在同样的问题,Postgress 14.1 在 MacOS Catalina 上与 brew 一起安装。 I've solved it in the Connection settings:我已经在连接设置中解决了它:

On the connection, right-click -> Edit connection -> Connection settings -> then click button "Edit Driver Settings", check "Embedded" checkbox.在连接上,右键单击 -> 编辑连接 -> 连接设置 -> 然后单击按钮“编辑驱动程序设置”,选中“嵌入”复选框。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM