无法在新的Windows会话中建立DBEAVER连接

发布于 2025-02-11 14:46:32 字数 998 浏览 0 评论 0原文

在下面的情况下,我需要帮助。

当Windows User(user1)用户尝试通过Windows登录到DB1时,我们有两个DBS,DB1和DB2,

它成功打开,保持此会话打开我与同一用户(user1)进行另一个Windows会话,并在DB2上登录,DB2打开在使用DB1创建的第一个窗口中,而不是在新的Windows会话中打开。

因此,User1无法为每个DB(DB1和DB2)进行两个不同的Windows会话。

我试图使用以下参数通过Windows命令行进行此会话,但是我们得到的行为与上面说明相同。

-con“驱动程序= db2 luw | host =“ device_ip” | port = 50005 | database =“ dbname” | user =“ username” | password =“ password” | openconsole = openconsole = true | connect = true | create = true | showsystemobjects = true“

- reuseworkspace”驱动程序= db2 luw | host =“ device_ip” | port = 50005 | database =“ dbname” | user =“ username” | username'| password =“ password” | openconsole = openconsole = true | connect = true | creation | create = faceal = false | false | | showsystemobjects = true“

-newinstance”驱动程序= db2 luw | host =“ device_ip” | port = 50005 | database =“ dbname” | user =“ userName” | password =“ passwork” false | showsystemobjects = true“

请指导我们如何在新的Windows会话中建立数据库连接。

I need help in below scenario.

We have two DBS, DB1 and DB2

when windows user (user1) user try to login to DB1 via windows it opens successfully, keeping this session open I make another windows session with the same user (user1) and login on DB2, the DB2 opens in the first windows that was created with DB1 instead of opening in a new windows session.

So user1 is unable to have two different windows sessions for each DB(DB1 and DB2).

I have tried to make this session through windows command line using below parameters but we are getting the same behavior as explained above.

-con "driver=DB2 LUW|host="device_ip"|port=50005|database="DBName"|user="username"|password="password"|openConsole=true|connect=true|create=false|showSystemObjects=true"

-reuseWorkspace "driver=DB2 LUW|host="device_ip"|port=50005|database="DBName"|user="username"|password="password"|openConsole=true|connect=true|create=false|showSystemObjects=true"

-newInstance "driver=DB2 LUW|host="device_ip"|port=50005|database="DBName"|user="username"|password="password"|openConsole=true|connect=true|create=false|showSystemObjects=true"

please guide how we can make a DB connection in a new windows session.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文