<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vertica Documentation – Client drivers</title>
    <link>/en/connecting-to/client-libraries/client-drivers/</link>
    <description>Recent content in Client drivers on Vertica Documentation</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/connecting-to/client-libraries/client-drivers/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Connecting-To: Installing and configuring client drivers</title>
      <link>/en/connecting-to/client-libraries/client-drivers/install-config/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/install-config/</guid>
      <description>
        
        
        &lt;p&gt;You can access your Vertica database with various programming languages and tools by installing the appropriate client driver. The following table lists the required client drivers for each access method:

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Client Driver&lt;/th&gt; 

&lt;th &gt;
Language/Tool&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/jdbc/&#34;&gt;JDBC&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/java/&#34;&gt;Java&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/&#34;&gt;ODBC&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/python/&#34;&gt;Python&lt;/a&gt; (&lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/python-client-drivers/&#34;&gt;pyodbc&lt;/a&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/php/&#34;&gt;PHP&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/perl/&#34;&gt;Perl&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/python-client-drivers/&#34;&gt;vertica-python&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/python/&#34;&gt;Python&lt;/a&gt; (native client)&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/ado-netr/&#34;&gt;ADO.NET&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/c/&#34;&gt;C#&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/node-js-client-driver/&#34;&gt;vertica-nodejs&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
JavaScript&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/go-client-driver/&#34;&gt;vertica-sql-go&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
Go&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Upgrading the client drivers</title>
      <link>/en/connecting-to/client-libraries/client-drivers/upgrading-client-drivers/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/upgrading-client-drivers/</guid>
      <description>
        
        
        &lt;p&gt;The Vertica client drivers are usually updated for each new release of the Vertica server. The client driver installation packages include the version number of the corresponding Vertica server release. Usually, the drivers are forward-compatible with the next release, so your client applications are still be able to connect using the older drivers after you upgrade to the next version of Vertica Analytics Platform server. See &lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-driver-and-server-version-compatibility/&#34;&gt;Client driver and server version compatibility&lt;/a&gt; for details on which client driver versions work with each version of Vertica server.

&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;

Vertica ODBC, JDBC and ADO.NET client drivers are backwards compatible to all supported Vertica server versions.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;You should upgrade your clients as soon as possible after upgrading your server to take advantage of new features and to maintain maximum compatibility with the server.&lt;/p&gt;
&lt;p&gt;To upgrade your drivers, follow the same procedure you used to install them in the first place. The new installation will overwrite the old. See the specific instructions for installing the drivers on your client platform for any special instructions regarding upgrades.

&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;

Installing new ODBC drivers does not alter existing DSN settings. You may need to change the driver settings in either the DSN or in the &lt;code&gt;odbcinst.ini&lt;/code&gt; file, if your client system uses one. See &lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-drivers/install-config/odbc/creating-an-odbc-data-source-name-dsn/&#34;&gt;Creating an ODBC Data Source Name&lt;/a&gt; for details.

&lt;/div&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Setting a client connection label</title>
      <link>/en/connecting-to/client-libraries/client-drivers/setting-client-connection-label/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/setting-client-connection-label/</guid>
      <description>
        
        
        &lt;p&gt;A client connection label identifies a connection to the database with a user-defined string. You can view the label for an existing session with &lt;a href=&#34;../../../../en/sql-reference/functions/client-connection-functions/get-client-label/&#34;&gt;GET_CLIENT_LABEL&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT GET_CLIENT_LABEL();
      GET_CLIENT_LABEL
----------------------------
 my_client_connection_label
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;new-connections&#34;&gt;New connections&lt;/h2&gt;
&lt;p&gt;In JDBC, ODBC, and ADO.NET, you use each client driver&#39;s &amp;quot;Label&amp;quot; connection property to set the client label before connecting to the database. Setting the label before you connect ensures that the connection is associated with the label in all system and &lt;a class=&#34;glosslink&#34; href=&#34;../../../../en/glossary/data-collector/&#34; title=&#34;A utility that collects and retains database monitoring information.&#34;&gt;Data collector&lt;/a&gt; tables. Examples of these tables include &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-monitor-schema/sessions/&#34;&gt;SESSIONS&lt;/a&gt; and DC_SESSION_STARTS.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/java/creating-and-configuring-connection/jdbc-connection-properties/&#34;&gt;JDBC connection properties&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&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;ODBC DSN connection properties&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/c/connecting-to-db/ado-net-connection-properties/&#34;&gt;ADO.NET connection properties&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can also preemptively set the client label with vsql by using the &lt;code&gt;--label&lt;/code&gt; option. For details, see &lt;a href=&#34;../../../../en/connecting-to/using-vsql/connecting-from-command-line/command-line-options/g-label/&#34;&gt;-g --label&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;existing-connections&#34;&gt;Existing connections&lt;/h2&gt;
&lt;p&gt;You can set a client connection label after you connect to a Vertica database with &lt;a href=&#34;../../../../en/sql-reference/functions/client-connection-functions/set-client-label/&#34;&gt;SET_CLIENT_LABEL&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT SET_CLIENT_LABEL(&amp;#39;py_data_load_application&amp;#39;);
               SET_CLIENT_LABEL
----------------------------------------------
 client_label set to py_data_load_application
(1 row)

=&amp;gt; SELECT GET_CLIENT_LABEL();
     GET_CLIENT_LABEL
--------------------------
 py_data_load_application
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Certain client drivers, like JDBC, have dedicated functions for setting the client connection label for existing connections. For details, see &lt;a href=&#34;../../../../en/connecting-to/client-libraries/accessing/java/creating-and-configuring-connection/setting-and-returning-client-connection-label/&#34;&gt;Setting and returning a client connection label&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Using legacy drivers</title>
      <link>/en/connecting-to/client-libraries/client-drivers/using-legacy-drivers/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/client-libraries/client-drivers/using-legacy-drivers/</guid>
      <description>
        
        
        &lt;p&gt;The Vertica server supports connections from previous versions of the client drivers. For detailed information the compatibility between versions of the Vertica server and Vertica client, see &lt;a href=&#34;../../../../en/connecting-to/client-libraries/client-driver-and-server-version-compatibility/&#34;&gt;Client driver and server version compatibility&lt;/a&gt;.&lt;/p&gt;

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