IBM data studio未连接到本地DB2数据库

IBM data studio未连接到本地DB2数据库,db2,db2-luw,ibm-data-studio,Db2,Db2 Luw,Ibm Data Studio,我已经在本地Ubuntu 12.04机器上安装了DB210.5版本。现在我需要一个GUI。我已经试过SquirrelSQL&Db可视化工具了。Db Visualizer为我提供了仅查看的数据库结构,而squirrel sql为我提供了更多的管理选项。但现在我需要一个DB2管理员工具,它可以处理所有这些任务以及备份/恢复、导入/导出等 我听了很多关于IBMDataStudio作为事实上的DB2工具的介绍。所以我安装了它。安装完成后,我无法连接到DB2数据库/模式。令人惊讶的是,我可以轻松地通过sq

我已经在本地Ubuntu 12.04机器上安装了DB210.5版本。现在我需要一个GUI。我已经试过SquirrelSQL&Db可视化工具了。Db Visualizer为我提供了仅查看的数据库结构,而squirrel sql为我提供了更多的管理选项。但现在我需要一个DB2管理员工具,它可以处理所有这些任务以及备份/恢复、导入/导出等

我听了很多关于IBMDataStudio作为事实上的DB2工具的介绍。所以我安装了它。安装完成后,我无法连接到DB2数据库/模式。令人惊讶的是,我可以轻松地通过squirrel sql&Db Visualizer连接我的Dbs,但IBM Data Studio拒绝连接。在尝试过程中会出现以下错误

Full message content: [jcc][t4][2043][11550][4.17.30] Exception java.net.SocketException: Error opening socket to server localhost/127.0.0.1 on port 50,000 with message: Malformed reply from SOCKS server.

An attempt was made to access a database that was not found, has not been started, or does not support transactions.

Ensure that the specified database name exists in the system database directory. If the database name does not exist in the system database directory, either the database does not exist or the database name has not been cataloged. If needed, issue a db2start command and then resubmit the current command. SQL4499N A fatal error occurred that resulted in a disconnect from the data source. SQLSTATE: 08004   
我已经具体说明了,

Local : Db2 for Linux, Unix & Windows
Database : <mydbname>
Host : localhost
Port Number : 50000
UserName : db2inst1
Password : XXXXXX
Default Schema : db2inst1
Local:Db2 for Linux、Unix和Windows
数据库:
主机:本地主机
端口号:50000
用户名:db2inst1
密码:XXXXXX
默认架构:db2inst1
任何人都可以建议是否需要额外的步骤来连接

更新:堆栈跟踪的Pastebin链接:

更新1:在线搜索DB2论坛中的相同问题,有人建议检查系统代理设置。是的,我的系统启用了代理设置。但即使在Ubuntu的Netwrok设置中将proxy设置为NONE,这个问题仍然存在


更新2:重新安装DataStudio后问题已解决。不知道出现了什么问题,但现在它在相同的设置下工作。

不是真正的答案。但问题在重新安装DataStudio后得到了解决。不知道出现了什么问题,但现在它在相同的设置下工作

您确定可以从db2clp连接到数据库吗?db2连接到XXXX。该实例似乎未启动:db2start@AngocA对于shell DB登录,我总是使用用户登录到db2inst1并传递命令“db2”,这将引导我到DB shell,然后我可以使用命令“connect to”来连接DB。这就是我用来连接shell上DB的方法。如果db2命令与db2clp相同。我使用的是DB210.5Linux版本。那么实例端口呢?它开着吗?测试“telnet主机名/IP端口号”是否通过telnet连接。正如我在文章中提到的,我能够通过DB Visualizer和SquirrelSQL工具进行连接,在这里我指定了类似的设置来连接。这很奇怪。尝试创建PMR