IBM数据工作室未连接到本地DB2数据库

时间:2014-08-12 12:00:02

标签: db2 db2-luw ibm-data-studio

我在本地Ubuntu 12.04计算机上安装了DB2 10.5版本。现在我需要一个GUI。我已经尝试过squirrel-sql& DB-展示台。虽然Db-Visualizer为我提供了仅查看数据库结构,但squirrel-sql给了我更多管理选项。但现在我需要一个DB2管理员工具,它可以处理所有这些任务以及备份/恢复,导入/导出等。

我非常倾听IBM Data Studio作为DB2的事实上的工具。所以我安装了它。安装完成后,我无法连接到我的DB2数据库/模式。这是惊喜因为我很容易通过squirrel-sql& s连接我的Dbs。 Db-Visualizer但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

任何人都可以建议连接需要额外的步骤。

更新:堆栈跟踪的Pastebin链接:http://pastebin.com/ySmrFKNV

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

更新2:重新安装Data Studio后问题已解决。不知道出现了什么问题,但现在它使用相同的设置。

1 个答案:

答案 0 :(得分:0)

不是真正的答案。但重新安装Data Studio后问题已解决。不知道出现了什么问题,但现在它使用相同的设置。