<docbook><section><title>HowCanIFindMyInformixInstanceName</title><para> </para><title>Identify the Informix instance name</title>Identify the Informix instance name
<bridgehead class="http://www.w3.org/1999/xhtml:h2">Unix Database Servers</bridgehead>
<orderedlist spacing="compact"><listitem> Log in to your Unix database server as the Informix user.
</listitem>
<listitem> Ensure the Informix environment is correctly set.
</listitem>
<listitem> Execute this command: <programlisting>echo $INFORMIXSERVER
</programlisting></listitem>
<listitem> This should be your Informix instance name.
 There should be an entry in the <computeroutput>$INFORMIXDIR/etc/sqlhosts</computeroutput> file that starts with the same <computeroutput>$INFORMIXSERVER</computeroutput> value.</listitem>
</orderedlist><para><emphasis>Note -- there may be multiple <computeroutput>$INFORMIXSERVER</computeroutput> values, and multiple Informix instances, on a single host.</emphasis></para><bridgehead class="http://www.w3.org/1999/xhtml:h2">Windows Database Servers</bridgehead>
<orderedlist spacing="compact"><listitem> Log in to your Windows database server.
</listitem>
<listitem> Launch the <emphasis>Registry Editor</emphasis> (<emphasis>Start menu</emphasis> &gt;&gt; <emphasis>Run...</emphasis> &gt;&gt; <emphasis><computeroutput>regedit</computeroutput></emphasis>) </listitem>
<listitem> Drill down to <programlisting>HKEY_LOCAL_MACHINE\
   SOFTWARE\
      INFORMIX\
         SQLHOSTS
</programlisting></listitem>
<listitem> There should be one or more sub-folders.
 Each sub-folder represents an Informix instance.
</listitem>
</orderedlist></section></docbook>