<?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: Apache Nifi  Mysql Connectivity - Cannot create PoolableConnectionFactory in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Mysql-Connectivity-Cannot-create/m-p/298603#M219268</link>
    <description>&lt;P&gt;Hi All ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I fixed this by changing the source URL to&amp;nbsp; jdbc:mysql://127.0.0.1:3306/source .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still need to understand the reason as to why it works this way when both the applications are installed on the same linux box . Also to note that in my case I have this linux installed on a VM on Google Cloud Platform&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will work on it and post the reasoning for reference.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jun 2020 04:21:01 GMT</pubDate>
    <dc:creator>abhinav_joshi</dc:creator>
    <dc:date>2020-06-25T04:21:01Z</dc:date>
    <item>
      <title>Apache Nifi  Mysql Connectivity - Cannot create PoolableConnectionFactory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Mysql-Connectivity-Cannot-create/m-p/298599#M219267</link>
      <description>&lt;P&gt;Hi Team ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having issues while connecting to mysql database using apache nifi.&amp;nbsp; The error is as follows&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cannot create PoolableConnectionFactory&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that Apache Nifi and MySQL is installed on the same Linux server and hence there shouldn't be any problems with the 2 applications talking to each other.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The database connection pool settings is provided below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mysql_db_connection_pool.jpg" style="width: 850px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/28073i37C60F2D8FD6EA7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="mysql_db_connection_pool.jpg" alt="mysql_db_connection_pool.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error when I try extracting the records is provided below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mysql_db_connection_pool_error.jpg" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/28074iB9C0F230821BF36C/image-size/large?v=v2&amp;amp;px=999" role="button" title="mysql_db_connection_pool_error.jpg" alt="mysql_db_connection_pool_error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is something very urgent as we are doing a POC and if this succeeds our Projects will be based on this. Any help in this regard will be much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103"&gt;@Matt&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12415"&gt;@Shu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 03:44:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Mysql-Connectivity-Cannot-create/m-p/298599#M219267</guid>
      <dc:creator>abhinav_joshi</dc:creator>
      <dc:date>2020-06-25T03:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi  Mysql Connectivity - Cannot create PoolableConnectionFactory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Mysql-Connectivity-Cannot-create/m-p/298603#M219268</link>
      <description>&lt;P&gt;Hi All ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I fixed this by changing the source URL to&amp;nbsp; jdbc:mysql://127.0.0.1:3306/source .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still need to understand the reason as to why it works this way when both the applications are installed on the same linux box . Also to note that in my case I have this linux installed on a VM on Google Cloud Platform&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will work on it and post the reasoning for reference.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 04:21:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Mysql-Connectivity-Cannot-create/m-p/298603#M219268</guid>
      <dc:creator>abhinav_joshi</dc:creator>
      <dc:date>2020-06-25T04:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi  Mysql Connectivity - Cannot create PoolableConnectionFactory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Mysql-Connectivity-Cannot-create/m-p/298635#M219288</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/46964"&gt;@abhinav_joshi&lt;/a&gt;&amp;nbsp; its related to permissions for root user. &amp;nbsp;First, you should avoid root user. &amp;nbsp;Also recommend use FQDNs, not ips. &amp;nbsp; It seems that user has perms on the localhost ip, but maybe not when connecting from the external IP. &amp;nbsp; &amp;nbsp;If you make a specific user, you would need to grant them access to a database from a specific host. &amp;nbsp;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;CREATE DATABASE hive;&lt;BR /&gt;CREATE USER 'hive'@'hdp3.cloudera.com' IDENTIFIED BY 'hive';&lt;BR /&gt;GRANT ALL PRIVILEGES ON *.* TO 'hive'@'hdp3.cloudera.com' WITH GRANT OPTION;&lt;BR /&gt;FLUSH PRIVILEGES;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 12:19:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Mysql-Connectivity-Cannot-create/m-p/298635#M219288</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2020-06-25T12:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi  Mysql Connectivity - Cannot create PoolableConnectionFactory</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Mysql-Connectivity-Cannot-create/m-p/299285#M219610</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60150"&gt;@stevenmatison&lt;/a&gt;&amp;nbsp;for your response on this&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 01:25:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Mysql-Connectivity-Cannot-create/m-p/299285#M219610</guid>
      <dc:creator>abhinav_joshi</dc:creator>
      <dc:date>2020-07-08T01:25:25Z</dc:date>
    </item>
  </channel>
</rss>

