<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: which version of mysql-connector-java to use with HDP3.1 ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/which-version-of-mysql-connector-java-to-use-with-HDP3-1/m-p/240935#M202739</link>
    <description>&lt;P&gt;The above was originally posted in the &lt;A href="https://community.hortonworks.com/spaces/101/index.html"&gt;Community Help Track&lt;/A&gt;. On Wed May 22 19:57 UTC 2019, a member of the HCC moderation staff moved it to the &lt;A href="https://community.hortonworks.com/spaces/66/index.html"&gt;Data Processing&lt;/A&gt; track. The &lt;EM&gt;Community Help Track&lt;/EM&gt; is intended for questions about using the HCC site itself.&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2019 02:59:15 GMT</pubDate>
    <dc:creator>ask_bill_brooks</dc:creator>
    <dc:date>2019-05-23T02:59:15Z</dc:date>
    <item>
      <title>which version of mysql-connector-java to use with HDP3.1 ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/which-version-of-mysql-connector-java-to-use-with-HDP3-1/m-p/240934#M202738</link>
      <description>&lt;P&gt;In installing hive if I use the driver that came with HDP the DB connection test fails , but if I use the older driver I have(don't know the version) the check succeeds .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[root@hadoop1 resources]# pwd&lt;BR /&gt;/var/lib/ambari-server/resources&lt;BR /&gt;[root@hadoop1 resources]# ls -al mysql-connector-java.jar&lt;BR /&gt;lrwxrwxrwx. 1 root root 64 May 22 14:56 mysql-connector-java.jar -&amp;gt; /var/lib/ambari-server/resources/mysql-connector-java-8.0.15.jar&lt;BR /&gt;[root@hadoop1 resources]#&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 02:21:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/which-version-of-mysql-connector-java-to-use-with-HDP3-1/m-p/240934#M202738</guid>
      <dc:creator>aliyesami</dc:creator>
      <dc:date>2019-05-23T02:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: which version of mysql-connector-java to use with HDP3.1 ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/which-version-of-mysql-connector-java-to-use-with-HDP3-1/m-p/240935#M202739</link>
      <description>&lt;P&gt;The above was originally posted in the &lt;A href="https://community.hortonworks.com/spaces/101/index.html"&gt;Community Help Track&lt;/A&gt;. On Wed May 22 19:57 UTC 2019, a member of the HCC moderation staff moved it to the &lt;A href="https://community.hortonworks.com/spaces/66/index.html"&gt;Data Processing&lt;/A&gt; track. The &lt;EM&gt;Community Help Track&lt;/EM&gt; is intended for questions about using the HCC site itself.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 02:59:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/which-version-of-mysql-connector-java-to-use-with-HDP3-1/m-p/240935#M202739</guid>
      <dc:creator>ask_bill_brooks</dc:creator>
      <dc:date>2019-05-23T02:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: which version of mysql-connector-java to use with HDP3.1 ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/which-version-of-mysql-connector-java-to-use-with-HDP3-1/m-p/240936#M202740</link>
      <description>&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="http://@Sami%20Ahmad" target="_blank"&gt;&lt;EM&gt;@Sami Ahmad&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;When you have set up your &lt;STRONG&gt;ambari.repo&lt;/STRONG&gt; correctly on Linux you need to do the following&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;# yum repolist
# yum install -y &amp;nbsp;ambari-server
# yum install -y mysql-connector-java
# ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;That should pick the correct version of MySQL  driver for your ambari  if you indeed to run on MySQL or MariaDB&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;# yum install -y mariadb-server&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;To get the mysql-connect version here are the steps&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;# zipgrep 'Bundle-Version' mysql-connector-java.jar&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;output&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;META-INF/MANIFEST.MF:Bundle-Version: 5.1.25&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 03:41:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/which-version-of-mysql-connector-java-to-use-with-HDP3-1/m-p/240936#M202740</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-05-23T03:41:13Z</dc:date>
    </item>
  </channel>
</rss>

