我已经在本地Ubuntu 12.04机器上安装了DB2 10.5版本。现在我需要一个GUI。我已经尝试过squirrel-sql和Db-Visualizer。虽然Db-Visualizer为我提供了仅查看数据库结构,但squirrel-sql给了我更多管理选项。但是现在我需要一个DB2管理员工具,该工具可以处理所有这些任务以及备份/还原,导入/导出等。
我已经听过很多IBM Data Studio作为DB2的实际工具。所以我安装了它。安装完成后,我无法连接到我的DB2数据库/方案。令人惊讶的是,因为我很容易通过squirrel-sql和Db-Visualizer连接我的Db,但是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后已解决问题。不知道出现了什么问题,但是现在可以使用相同的设置了。
并不是一个真正的答案。但是在重新安装Data Studio之后问题已解决。不知道出现了什么问题,但是现在可以使用相同的设置了。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句