<?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: how to configure and connect  mysql with nifi and perform some basic sql queries. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/300569#M220297</link>
    <description>&lt;P&gt;Did you get a solution to this . I am also getting a communication error . My Nifi Instance and Mysql are on the same linux server .&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2020 23:00:00 GMT</pubDate>
    <dc:creator>abhinav_joshi</dc:creator>
    <dc:date>2020-07-29T23:00:00Z</dc:date>
    <item>
      <title>how to configure and connect  mysql with nifi and perform some basic sql queries.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109478#M72328</link>
      <description>&lt;P&gt;I am trying to connect to mysql database through NIFI as I need to access the database and perform some queries.  Currently the whole setup is running in my local windows machine and I am getting error with connectivity.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 18:19:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109478#M72328</guid>
      <dc:creator>adityahegde</dc:creator>
      <dc:date>2017-01-03T18:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure and connect  mysql with nifi and perform some basic sql queries.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109479#M72329</link>
      <description>&lt;P&gt;What error are you getting and what approach are you using (and what version of NiFi/HDF)? I recommend setting up a &lt;A target="_blank" href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.dbcp.DBCPConnectionPool/index.html" rel="nofollow noopener noreferrer"&gt;DBCPConnectionPool&lt;/A&gt; controller service. Your settings for the controller service will depend on your MySQL instance, here is an example of one I use to connect to a local MySQL running on Docker, using test_schema as the database:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11015-mysql-dbcp-config.png" style="width: 803px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23369i91E736229BA5791C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11015-mysql-dbcp-config.png" alt="11015-mysql-dbcp-config.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The "Database Driver Location(s)" property is set to a URL pointing at my mysql-connector-java-5.1.38-bin.jar. As of NiFi 1.0.0 (via &lt;A target="_blank" href="https://issues.apache.org/jira/browse/NIFI-2604" rel="nofollow noopener noreferrer"&gt;NIFI-2604&lt;/A&gt;), this property can include a comma-separated list of folders and/or JARs, and need not be URLs (i.e. you can use relative path names, although according to &lt;A target="_blank" href="https://community.hortonworks.com/questions/66442/dbcp-connection-pool-issue.html" rel="nofollow noopener noreferrer"&gt;this post&lt;/A&gt; I don't think having the Windows drive letter at the front will work).&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:33:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109479#M72329</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2019-08-19T11:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure and connect  mysql with nifi and perform some basic sql queries.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109480#M72330</link>
      <description>&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;Thanks for the solution. The dataflow has started working!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya Hegde&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 12:02:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109480#M72330</guid>
      <dc:creator>adityahegde</dc:creator>
      <dc:date>2017-01-05T12:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure and connect  mysql with nifi and perform some basic sql queries.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109481#M72331</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/15201/adityahegde.html" nodeid="15201"&gt;@Aditya Hegde&lt;/A&gt; could you please tell me how did you perform the connection of mysql with nifi? I have to do the same. please provide the details of processor used by you.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 17:39:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109481#M72331</guid>
      <dc:creator>aishwarya020793</dc:creator>
      <dc:date>2017-02-22T17:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure and connect  mysql with nifi and perform some basic sql queries.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109482#M72332</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16194/aishwarya020793.html" nodeid="16194"&gt;@aishwarya srivastava,
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Find the attached files as a reference. If your nifi application and mysql server both are running in two different scopes, than look into port configuration. There should be proper connectivity. &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/12886-processor-1-configuration-a.png"&gt;
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/12886-processor-1-configuration-a.png"&gt;
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/12886-processor-1-configuration-a.png"&gt;processor-1-configuration-a.png
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/12886-processor-1-configuration-a.png"&gt;&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/12887-processor-1-configuration.png"&gt;processor-1-configuration.png&lt;/A&gt;
&lt;A rel="user" href="https://community.cloudera.com/users/16194/aishwarya020793.html" nodeid="16194"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 19:35:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109482#M72332</guid>
      <dc:creator>adityahegde</dc:creator>
      <dc:date>2017-02-23T19:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure and connect  mysql with nifi and perform some basic sql queries.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109483#M72333</link>
      <description>&lt;P&gt;Thanks this was useful, i just wanted to add one more point. Since i was new to nifii, ever after creating the controller, i was not sure why the processor could not be started. Then i figured out that controller needs to be enabled, so that the processor shows the "Start" option.&lt;/P&gt;,&lt;P&gt;This may be non trivial, but thought would help someone since I was struggling with the processor not being active even after creating the controller. You need to enable the controller service after creating them, so that you can start the processor.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 03:08:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109483#M72333</guid>
      <dc:creator>keerthi4u83</dc:creator>
      <dc:date>2017-10-19T03:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure and connect  mysql with nifi and perform some basic sql queries.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109484#M72334</link>
      <description>&lt;P&gt;To learn why a process will not start, hover your cursor over the yellow triangle with exclamation mark and an error message will pop up to explain why it will not start. Then you will instantly know the problem.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 20:45:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109484#M72334</guid>
      <dc:creator>Jim_Steinebrey</dc:creator>
      <dc:date>2018-04-27T20:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure and connect  mysql with nifi and perform some basic sql queries.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109485#M72335</link>
      <description>&lt;P&gt;I'm following the instructions here, but I still can't seem to get it working.&lt;/P&gt;&lt;P&gt;I'm pointing to the same driver with the same driver class name.&lt;/P&gt;&lt;P&gt;However, my URL is a bit different.&lt;/P&gt;&lt;P&gt;I'm trying to connect to an AWS Aurora instance.&lt;/P&gt;&lt;P&gt;If I use a connection string like this:&lt;/P&gt;&lt;P&gt;jdbc:mysql://my-url.us-east-1.rds.amazonaws.com:1433;databaseName=my_db_name&lt;/P&gt;&lt;P&gt;I get the error below.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If I remove the port and db name, I get an error that says "Unable to execute SQL ...  due to org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure"&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;/P&gt;&lt;PRE&gt;ExecuteSQL[id=df4d1531-3056-1f5a-9d32-fa30462c23ba] Unable to execute SQL select query &amp;lt;query&amp;gt; for StandardFlowFileRecord[uuid=7d70ed35-ae97-47e8-a860-0a2fa75fa2ef,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1538684794331-5, container=default, section=5], offset=939153, length=967],offset=0,name=properties.json,size=967] due to org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "1433;databaseName=my_db_name"'.); routing to failure: org.apache.nifi.processor.exception.ProcessException: org.apache.commons.dbcp.SQLNestedException...&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Oct 2018 00:50:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/109485#M72335</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2018-10-12T00:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure and connect  mysql with nifi and perform some basic sql queries.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/300569#M220297</link>
      <description>&lt;P&gt;Did you get a solution to this . I am also getting a communication error . My Nifi Instance and Mysql are on the same linux server .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 23:00:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/m-p/300569#M220297</guid>
      <dc:creator>abhinav_joshi</dc:creator>
      <dc:date>2020-07-29T23:00:00Z</dc:date>
    </item>
  </channel>
</rss>

