<?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 CaptureChangeMySql processor error &amp;quot;Could not connect binlog client to any of the specified hosts due to: Client does not support authentication protocol&amp;quot; in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySql-processor-error-quot-Could-not-connect/m-p/349428#M235656</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to connect&amp;nbsp;&lt;SPAN&gt;connect two different MySQL database services(mysql 5.7 and Mysql 8.0 ). I am using two&amp;nbsp;&amp;nbsp;two&amp;nbsp;CaptureChangeMySQL Processors for this.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mysql 5.7 is install in my local machine and&amp;nbsp;CaptureChangeMySQL Processors connecting successfully.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Mysql 8.0 is install on docker container and&amp;nbsp;on host machine port 3310 like (sudo docker run --name mysql-8.0-container -p 127.0.0.1:3310:3306 -e MYSQL_ROOT_PASSWORD=password -d mysql:8.0).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CaptureChangeMySQL connecting with mysql 8.0 is giving&amp;nbsp; error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any suggest why i am getting this error and how to resolve it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: I am able to connect mysql 8.0 using mysql workbench.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CaptureChangeMySql-8.0-configuration.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35099iA5FA502B47A54BBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="CaptureChangeMySql-8.0-configuration.png" alt="CaptureChangeMySql-8.0-configuration.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Two_MySql_Server_Connection_NiFi_Diagram.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35100iABC0C52D98C9B1D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Two_MySql_Server_Connection_NiFi_Diagram.png" alt="Two_MySql_Server_Connection_NiFi_Diagram.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2022-08-03 16-44-47.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35101iFF91040DB34DCC8F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2022-08-03 16-44-47.png" alt="Screenshot from 2022-08-03 16-44-47.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2022-08-03 15:59:58,863 ERROR [Timer-Driven Process Thread-4] o.a.n.c.m.processors.CaptureChangeMySQL CaptureChangeMySQL[id=352daba9-0182-1000-a02a-faf160ab1329] Processing failed&lt;BR /&gt;org.apache.nifi.processor.exception.ProcessException: Could not connect binlog client to any of the specified hosts due to: Client does not support authentication protocol requested by server; consider upgrading MySQL client&lt;BR /&gt;at org.apache.nifi.cdc.mysql.processors.CaptureChangeMySQL.setup(CaptureChangeMySQL.java:664)&lt;BR /&gt;at org.apache.nifi.cdc.mysql.processors.CaptureChangeMySQL.onTrigger(CaptureChangeMySQL.java:678)&lt;BR /&gt;at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1283)&lt;BR /&gt;at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:214)&lt;BR /&gt;at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:103)&lt;BR /&gt;at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)&lt;BR /&gt;at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)&lt;BR /&gt;at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)&lt;BR /&gt;at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)&lt;BR /&gt;at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)&lt;BR /&gt;at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2022 11:15:41 GMT</pubDate>
    <dc:creator>AbhishekSingh</dc:creator>
    <dc:date>2022-08-03T11:15:41Z</dc:date>
    <item>
      <title>CaptureChangeMySql processor error "Could not connect binlog client to any of the specified hosts due to: Client does not support authentication protocol"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySql-processor-error-quot-Could-not-connect/m-p/349428#M235656</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to connect&amp;nbsp;&lt;SPAN&gt;connect two different MySQL database services(mysql 5.7 and Mysql 8.0 ). I am using two&amp;nbsp;&amp;nbsp;two&amp;nbsp;CaptureChangeMySQL Processors for this.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mysql 5.7 is install in my local machine and&amp;nbsp;CaptureChangeMySQL Processors connecting successfully.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Mysql 8.0 is install on docker container and&amp;nbsp;on host machine port 3310 like (sudo docker run --name mysql-8.0-container -p 127.0.0.1:3310:3306 -e MYSQL_ROOT_PASSWORD=password -d mysql:8.0).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CaptureChangeMySQL connecting with mysql 8.0 is giving&amp;nbsp; error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any suggest why i am getting this error and how to resolve it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: I am able to connect mysql 8.0 using mysql workbench.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CaptureChangeMySql-8.0-configuration.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35099iA5FA502B47A54BBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="CaptureChangeMySql-8.0-configuration.png" alt="CaptureChangeMySql-8.0-configuration.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Two_MySql_Server_Connection_NiFi_Diagram.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35100iABC0C52D98C9B1D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Two_MySql_Server_Connection_NiFi_Diagram.png" alt="Two_MySql_Server_Connection_NiFi_Diagram.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2022-08-03 16-44-47.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35101iFF91040DB34DCC8F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2022-08-03 16-44-47.png" alt="Screenshot from 2022-08-03 16-44-47.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2022-08-03 15:59:58,863 ERROR [Timer-Driven Process Thread-4] o.a.n.c.m.processors.CaptureChangeMySQL CaptureChangeMySQL[id=352daba9-0182-1000-a02a-faf160ab1329] Processing failed&lt;BR /&gt;org.apache.nifi.processor.exception.ProcessException: Could not connect binlog client to any of the specified hosts due to: Client does not support authentication protocol requested by server; consider upgrading MySQL client&lt;BR /&gt;at org.apache.nifi.cdc.mysql.processors.CaptureChangeMySQL.setup(CaptureChangeMySQL.java:664)&lt;BR /&gt;at org.apache.nifi.cdc.mysql.processors.CaptureChangeMySQL.onTrigger(CaptureChangeMySQL.java:678)&lt;BR /&gt;at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1283)&lt;BR /&gt;at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:214)&lt;BR /&gt;at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:103)&lt;BR /&gt;at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)&lt;BR /&gt;at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)&lt;BR /&gt;at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)&lt;BR /&gt;at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)&lt;BR /&gt;at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)&lt;BR /&gt;at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 11:15:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySql-processor-error-quot-Could-not-connect/m-p/349428#M235656</guid>
      <dc:creator>AbhishekSingh</dc:creator>
      <dc:date>2022-08-03T11:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: CaptureChangeMySql processor error "Could not connect binlog client to any of the specified hosts due to: Client does not support authentication protocol"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySql-processor-error-quot-Could-not-connect/m-p/349436#M235658</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99077"&gt;@AbhishekSingh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;CaptureChangeMySQL processor acts as a MySQL replication slave. It requires the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://dev.mysql.com/doc/refman/8.0/en/replication-howto-repuser.html" target="_self" rel="nofollow noopener noreferrer"&gt;REPLICATION_SLAVE&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;privilege in MySQL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following the steps in the documentation and create a separate user to use in your processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 11:51:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySql-processor-error-quot-Could-not-connect/m-p/349436#M235658</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-08-03T11:51:50Z</dc:date>
    </item>
  </channel>
</rss>

