<?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: Need help to connect MySQL with CaptureChangeMySQL in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Need-help-to-connect-MySQL-with-CaptureChangeMySQL/m-p/286262#M212335</link>
    <description>&lt;P&gt;Couple things I notice. &amp;nbsp;First per documentation, your hostname should be an FQDN and mapped to the correct IP. &amp;nbsp;Not mapping a proper hostname to the main server IP will cause confusion between short hostname, long hostname, localhost, localhost IP, etc. &amp;nbsp; Second, after fixing that, you need to create permissions from your nifi FQDN hostname to your mysql server with a user that has the proper privelages. &amp;nbsp;A simple test to check network connectivity from NiFi to mysql host would be using telnet to port 3306. &amp;nbsp;If the telnet connects, then you know for sure you need to create the user@'host' permission grants as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE USER 'user'@'%' IDENTIFIED BY 'password';&lt;BR /&gt;GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' WITH GRANT OPTION;&lt;BR /&gt;FLUSH PRIVILEGES;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Depending on your setup the % (wildcard) may or may not work. If required replace the wildcard with the NiFI FQDN hostname.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last suggestion: &amp;nbsp; tail -f /var/log/nifi/nifi-app.log while testing. &amp;nbsp;You will see much more info about errors than you see in the NiFi UI. &amp;nbsp;You can also set each processor error level to get more information in the UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this answer helps solve your issue, please accept it as the solution.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Dec 2019 12:31:07 GMT</pubDate>
    <dc:creator>stevenmatison</dc:creator>
    <dc:date>2019-12-24T12:31:07Z</dc:date>
    <item>
      <title>Need help to connect MySQL with CaptureChangeMySQL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Need-help-to-connect-MySQL-with-CaptureChangeMySQL/m-p/285970#M212121</link>
      <description>&lt;P&gt;I am trying to repeat the work of&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Community-Articles/Change-Data-Capture-CDC-with-Apache-NiFi-Part-1-of-3/tac-p/285753#M5666" target="_self"&gt;Change Data Capture (CDC) with Apache NiFi.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;My testing environment is : Ubuntu 16.04;&amp;nbsp; MySQL and NiFi are installed in the OS system without using Docker,&amp;nbsp;&lt;SPAN&gt;can access to MySQL via the terminal from another Windows PC in the same local network.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, when I just use the processor&amp;nbsp;CaptureChangeMySQL and connect to the MySQL, it shows me the error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mysql.png" style="width: 893px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25772iE50797E5D4BB136F/image-size/large?v=v2&amp;amp;px=999" role="button" title="mysql.png" alt="mysql.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The settings of the NiFi processors are:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CDC MapCache:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mysql.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25775i5CD892723D907963/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mysql.png" alt="mysql.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;CaptureChangeMySQL:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20484-3-capturechangemysql-properties.png" style="width: 796px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25771i6583CEF676FDF5E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="20484-3-capturechangemysql-properties.png" alt="20484-3-capturechangemysql-properties.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ubuntu 16.04:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20484-3-capturechangemysql-properties.png" style="width: 431px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25774iE88882BABD924D59/image-size/large?v=v2&amp;amp;px=999" role="button" title="20484-3-capturechangemysql-properties.png" alt="20484-3-capturechangemysql-properties.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could anyone help to address the issues? Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 04:28:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Need-help-to-connect-MySQL-with-CaptureChangeMySQL/m-p/285970#M212121</guid>
      <dc:creator>raymond_cui2015</dc:creator>
      <dc:date>2019-12-19T04:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to connect MySQL with CaptureChangeMySQL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Need-help-to-connect-MySQL-with-CaptureChangeMySQL/m-p/286252#M212326</link>
      <description>&lt;P&gt;Not sure if this helps, but it looks like you are hitting a general connectivity error. Possibly not even related to MySQL. Are you able to do anything via nifi on that remote node?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 12:00:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Need-help-to-connect-MySQL-with-CaptureChangeMySQL/m-p/286252#M212326</guid>
      <dc:creator>DennisJaheruddi</dc:creator>
      <dc:date>2019-12-24T12:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to connect MySQL with CaptureChangeMySQL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Need-help-to-connect-MySQL-with-CaptureChangeMySQL/m-p/286262#M212335</link>
      <description>&lt;P&gt;Couple things I notice. &amp;nbsp;First per documentation, your hostname should be an FQDN and mapped to the correct IP. &amp;nbsp;Not mapping a proper hostname to the main server IP will cause confusion between short hostname, long hostname, localhost, localhost IP, etc. &amp;nbsp; Second, after fixing that, you need to create permissions from your nifi FQDN hostname to your mysql server with a user that has the proper privelages. &amp;nbsp;A simple test to check network connectivity from NiFi to mysql host would be using telnet to port 3306. &amp;nbsp;If the telnet connects, then you know for sure you need to create the user@'host' permission grants as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE USER 'user'@'%' IDENTIFIED BY 'password';&lt;BR /&gt;GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' WITH GRANT OPTION;&lt;BR /&gt;FLUSH PRIVILEGES;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Depending on your setup the % (wildcard) may or may not work. If required replace the wildcard with the NiFI FQDN hostname.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last suggestion: &amp;nbsp; tail -f /var/log/nifi/nifi-app.log while testing. &amp;nbsp;You will see much more info about errors than you see in the NiFi UI. &amp;nbsp;You can also set each processor error level to get more information in the UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this answer helps solve your issue, please accept it as the solution.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 12:31:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Need-help-to-connect-MySQL-with-CaptureChangeMySQL/m-p/286262#M212335</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2019-12-24T12:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to connect MySQL with CaptureChangeMySQL</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Need-help-to-connect-MySQL-with-CaptureChangeMySQL/m-p/286321#M212370</link>
      <description>&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply. I could use the ListFile and FetchFile processors to get the files of the target host (such as: MySQL log files).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Dec 2019 09:23:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Need-help-to-connect-MySQL-with-CaptureChangeMySQL/m-p/286321#M212370</guid>
      <dc:creator>raymond_cui2015</dc:creator>
      <dc:date>2019-12-25T09:23:33Z</dc:date>
    </item>
  </channel>
</rss>

