title: connecting to remote oracle via cygwin sqlplus
body: <p>I'm trying to use cygwin sqlplus to connect to a remote oracle installation located at myserver.mycompany.com port 1530.  When I try</p>
  
  <pre><code>sqlplus username@myserver.mycompany.com:1530/orcl
  </code></pre>
  
  <p>I get the error:</p>
  
  <pre><code>ORA-12154: TNS:could not resolve the connect identifier specified
  </code></pre>
  
  <p>When I set <code>ORACLE_HOME</code> to /<code>cygdrive/c/oracle/product/10.2.0/client_1</code>, I get a different error:</p>
  
  <pre><code>Error 6 initializing SQL*Plus
  Message file sp1&lt;lang&gt;.msb not found
  SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
  </code></pre>
  
  <p>I can telnet to the server's port 1530, and the SQL Developer installed locally is also able to connect to the database.  What am I doing wrong?</p>