<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Creating an ODBC DSN for windows clients</title>
    <link>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/</link>
    <description>Recent content in Creating an ODBC DSN for windows clients on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Connecting-To: Setting up an ODBC DSN</title>
      <link>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/setting-up-an-odbc-dsn/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/setting-up-an-odbc-dsn/</guid>
      <description>
        
        
        &lt;p&gt;A &lt;em&gt;Data Source Name (DSN)&lt;/em&gt; is the ODBC logical name for the drive and other information the database needs to access data. The name is used by Internet Information Services (IIS) for a connection to an ODBC data source.&lt;/p&gt;
&lt;p&gt;This section describes how to use the OpenText™ Analytics Database ODBC Driver to set up an ODBC DSN. This topic assumes that the driver is already installed, as described in &lt;a href=&#34;../../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/installing-odbc/&#34;&gt;Installing Client Drivers on Windows&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;to-set-up-a-dsn&#34;&gt;To set up a DSN&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the ODBC Administrator. For example, you could navigate to &lt;strong&gt;Start &amp;gt; Control Panel &amp;gt; Administrative Tools &amp;gt; Data Sources (ODBC)&lt;/strong&gt;.&lt;/p&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

The method you use to open the ODBC Administrator depends on your version of Windows. Differences between Windows versions and &lt;strong&gt;Start Menu&lt;/strong&gt; customizations could require you to take a different action to open the ODBC Administrator.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Decide if you want all users on your client system to be able to access to the DSN for the database.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you want all users to have access, then click the &lt;strong&gt;System DSN&lt;/strong&gt; tab.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Otherwise, click the &lt;strong&gt;User DSN&lt;/strong&gt; tab to create a DSN that is only usable by your Windows user account.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Add&lt;/strong&gt; to create a new DSN to connect to the database.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Scroll through the list of drivers in the Create a New Data Source dialog box to locate the database driver. Select the driver and click &lt;strong&gt;Finish&lt;/strong&gt;.&lt;/p&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

If you have installed more than one version of the database client drivers on your Windows client system, you may see multiple versions of the driver in this list. Choose the version that you know is compatible with your client application and OpenText™ Analytics Database server. If you are unsure, use the latest version of the driver.

&lt;/div&gt;
&lt;p&gt;The ODBC DSN configuration dialog box appears.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;More &amp;gt;&amp;gt;&amp;gt;&lt;/strong&gt; button to view a description of the field you are editing and the connection string defined by the DSN.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter the information for your DSN. The following fields are required:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;DSN Name&lt;/strong&gt; — The name for the DSN. Clients use this name to identify the DSN to which they want to connect. The DSN name must satisfy the following requirements:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Its maximum length is 32 characters.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;It is composed of ASCII characters except for the following: &lt;input disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; { } , ; ? * = ! @ \&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;It contains no spaces.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Server&lt;/strong&gt; — The host name or IP address of the database server to which you want to connect. Use localhost, if the database is installed on the same machine.&lt;/p&gt;
&lt;p&gt;You can provide an IPv4 address, IPv6 address, or host name.&lt;/p&gt;
&lt;p&gt;In mixed IPv4/IPv6 networks, the DNS server configuration determines which IP version address is sent first. Use the &lt;code&gt;PreferredAddressFamily&lt;/code&gt; option to force the connection to use either IPv4 or IPv6.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;PreferredAddressFamily&lt;/code&gt; option is available on the Client Settings tab.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Backup Servers&lt;/strong&gt; — A comma-separated list of host names or IP addresses used to connect to if the server specified by the Server field is down. Optional.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Database&lt;/strong&gt; —The name of the database.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;User Name&lt;/strong&gt; — The name of the user account to use when connecting to the database. If the application does not supply its own user name when connecting to the DSN, this account name is used to log into the database.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The rest of the fields are optional. See &lt;a href=&#34;../../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/odbc-dsn-connection-properties/&#34;&gt;DSN Parameters&lt;/a&gt; for detailed information about the DSN parameters you can define.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you want to test your connection:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Enter at least a valid &lt;strong&gt;DSN name&lt;/strong&gt;, &lt;strong&gt;Server name&lt;/strong&gt;, &lt;strong&gt;Database&lt;/strong&gt;, and either &lt;strong&gt;User name&lt;/strong&gt; or select &lt;strong&gt;Windows authentication&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you have not selected &lt;strong&gt;Windows authentication&lt;/strong&gt;, you can enter a password in the &lt;strong&gt;Password&lt;/strong&gt; box. Alternately, you can select &lt;strong&gt;Password for missing password&lt;/strong&gt; to have the driver prompt you for a password when connecting.

&lt;div class=&#34;admonition caution&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Caution&lt;/h4&gt;

Passwords entered into the &lt;strong&gt;Password&lt;/strong&gt; box are saved, in plaintext, to the Windows registry.

&lt;/div&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Test Connection&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When you have finished editing and testing the DSN, click &lt;strong&gt;OK&lt;/strong&gt;. The ODBC DSN configuration window closes, and your new DSN is listed in the ODBC Data Source Administrator window.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;OK&lt;/strong&gt; to close the ODBC Data Source Administrator.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After creating the DSN, you can test it using &lt;a href=&#34;../../../../../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/testing-an-odbc-dsn-using-excel/&#34;&gt;Microsoft Excel 2007&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;setting-up-a-32-bit-dsn-on-64-bit-versions-of-microsoft-windows&#34;&gt;Setting up a 32-Bit DSN on 64-Bit versions of Microsoft windows&lt;/h2&gt;
&lt;p&gt;On 64-bit versions of Windows, the default ODBC Data Source Administrator creates and edits DSNs that are associated with the 64-bit database ODBC library.&lt;/p&gt;
&lt;p&gt;Attempting to use these 64-bit DSNs with a 32-bit client application results in an architecture mismatch error. Instead, you must create a specific 32-bit DSN for 32-bit clients by running the 32-bit ODBC Administrator usually located at:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;c:\Windows\SysWOW64\odbcad32.exe
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This administrator window edits a set of DSNs that are associated with the 32-bit ODBC library. You can then use your 32-bit client applications with the DSNs you create with this version of the ODBC administrator.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Encrypting passwords on ODBC DSN</title>
      <link>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/encrypting-passwords-on-odbc-dsn/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/encrypting-passwords-on-odbc-dsn/</guid>
      <description>
        
        
        &lt;p&gt;When you install an ODBC driver and create a Data Source Name (DSN) the DSN settings are stored in the registry, including the password. Encrypting passwords on ODBC DSN applies only to Windows systems.&lt;/p&gt;
&lt;p&gt;Encrypting passwords on an ODBC data source name (DSN) provides security against unauthorized database access. The password is not encrypted by default and is stored in plain-text.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

ODBC DSN passwords that were created in Vertica ≤8.0.x are not encrypted when you upgrade to a higher version, regardless of encryption settings.

&lt;/div&gt;&lt;/p&gt;
&lt;h2 id=&#34;enable-password-encryption&#34;&gt;Enable password encryption&lt;/h2&gt;
&lt;p&gt;Use the EncryptPassword parameter to enable or disable password encryption for an ODBC DSN:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;EncryptPassword = true&lt;/code&gt; enables password encryption&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;EncryptPassword = false&lt;/code&gt; (default) disables password encryption&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Set &lt;code&gt;EncryptPassword&lt;/code&gt; in the Windows registry - &lt;code&gt;HKEY_LOCAL_MACHINE &amp;gt; Software &amp;gt; Vertica &amp;gt; ODBC &amp;gt; Driver EncryptPassword=&amp;lt;true/false&amp;gt;&lt;/code&gt;.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;p&gt;For 32 bit driver running on 64 bit windows verify password encryption here:&lt;/p&gt;
&lt;p&gt;HKEY_LOCAL_MACHINE &amp;gt; Software &amp;gt; Wow6432Node &amp;gt; Vertica &amp;gt; ODBC &amp;gt;&lt;/p&gt;
&lt;p&gt;Driver &amp;gt; EncryptPassword=&amp;lt;true/false&amp;gt;&lt;/p&gt;


&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Encrypted passwords get updated in the following registry locations:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;For a user DSN:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;HKEY_CURRENT_USER-&amp;gt; Software -&amp;gt; ODBC -&amp;gt; ODBC.INI -&amp;gt; DSNNAME -&amp;gt; PWD&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;For a system DSN:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;HKEY_LOCAL_MACHINE-&amp;gt; Software -&amp;gt; ODBC -&amp;gt; ODBC.INI -&amp;gt; DSNNAME -&amp;gt; PWD&lt;/code&gt;&lt;/p&gt;
&lt;h2 id=&#34;verify-password-encryption&#34;&gt;Verify password encryption&lt;/h2&gt;
&lt;p&gt;Use Windows Registry editor to determine if password encryption is enabled based on the value of EncryptPassword. Depending on the type of DSN you installed, check the following:&lt;/p&gt;
&lt;p&gt;For a user DSN: &lt;code&gt;HKEY_CURRENT_USER &amp;gt; Software &amp;gt; ODBC &amp;gt; ODBC.INI &amp;gt; dsn name &amp;gt; isPasswordEncrypted=&amp;lt;1/0&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For a system DSN: &lt;code&gt;HKEY_LOCAL_MACHINE &amp;gt; Software &amp;gt; ODBC &amp;gt; ODBC.INI &amp;gt; dsn name &amp;gt; isPasswordEncrypted=&amp;lt;1/0&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For each DSN, the value of the &lt;code&gt;isPasswordEncrypted&lt;/code&gt; parameter indicates the status of the password encryption, where &lt;code&gt;1&lt;/code&gt; indicates an encrypted password and &lt;code&gt;0&lt;/code&gt; indicates an unencrypted password.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Testing an ODBC DSN using Excel</title>
      <link>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/testing-an-odbc-dsn-using-excel/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/windows-dsn/testing-an-odbc-dsn-using-excel/</guid>
      <description>
        
        
        &lt;p&gt;You can use Microsoft Excel to verify that an application can connect to an ODBC data source or other ODBC application.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open Microsoft Excel, and select &lt;strong&gt;Data &amp;gt; Get External Data &amp;gt; From Other Sources &amp;gt; From Microsoft Query&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When the Choose Data Source dialog box opens:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;New Data Source&lt;/strong&gt;, and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter the name of the data source.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the database driver.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Connect&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When the Connection Dialog box opens, enter the connection information for the DSN, and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;OK&lt;/strong&gt; on the Create New Data Source dialog box to return to the Choose Data Source dialog box.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select VMart_Schema*, and verify that the Use the Query Wizard check box is deselected. Click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When the Add Tables dialog box opens, click &lt;strong&gt;Close&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When the Microsoft Query window opens, click the &lt;strong&gt;SQL&lt;/strong&gt; button.&lt;/p&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the SQL window, write any simple query to test your connection. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;SELECT DISTINCT calendar_year FROM date_dimension;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;pre&gt;&lt;code&gt;* If you see the caution, &amp;quot;SQL Query can&#39;t be represented graphically. Continue anyway?&amp;quot; click **OK**.      * The data values 2003, 2004, 2005, 2006, 2007 indicate that you successfully connected to and ran a query through ODBC.
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select  &lt;strong&gt;File &amp;gt; Return Data to Microsoft Office Excel&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the Import Data dialog box, click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The data is now available for use in an Excel worksheet.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
  </channel>
</rss>
