title: IBM data studio not connecting to local DB2 databases
body: <p>I have installed DB2 10.5 version on my local Ubuntu 12.04 Machine. Now i need a GUI. I already tried squirrel-sql &amp; Db-Visualizer. While Db-Visualizer give me the view-only database structure, squirrel-sql give me some more options to manage. But now I need a DB2 administrator tool, which can handle all this tasks plus backup/restore, import/export etc. </p>
  
  <p>I have listen a lot for IBM Data Studio as de-facto tool for DB2. So I installed it. After install completion, I am unable connect to my DB2 databases/schemas. It is surprise As I am easily can connect my Dbs through squirrel-sql &amp; Db-Visualizer but IBM Data Studio refuse to connect. It give following errors during try.</p>
  
  <pre><code>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   
  </code></pre>
  
  <p>I have specified,</p>
  
  <pre><code>Local : Db2 for Linux, Unix &amp; Windows
  Database : &lt;mydbname&gt;
  Host : localhost
  Port Number : 50000
  UserName : db2inst1
  Password : XXXXXX
  Default Schema : db2inst1
  </code></pre>
  
  <p>Anybody can suggest if extra steps needed to connect. </p>
  
  <p>UPDATE : Pastebin Link for Stack Trace : <a href="http://pastebin.com/ySmrFKNV" rel="nofollow">http://pastebin.com/ySmrFKNV</a></p>
  
  <p>UPDATE 1 : Search online for DB2 forums for same problem, Somebody suggested to check system proxy settings. So yes, My system have proxy settings enabled. But even after set proxy to NONE in Netwrok Settings in Ubuntu, problem still persists.  </p>
  
  <p>UPDATE 2 : Issue resolved after reinstallation of Data Studio. No idea what problem came, But now it working with same settings.</p>