<?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>topic Re: Cannot create eventstream from MySQL in Eventstream</title>
    <link>https://community.fabric.microsoft.com/t5/Eventstream/Cannot-create-eventstream-from-MySQL/m-p/4082666#M151</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="786108" data-lia-user-login="linardskalvanse" class="lia-mention lia-mention-user"&gt;linardskalvanse&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;According to the screenshot you provided, your Eventstream was created successfully but the data source connection failed. That should be a problem on your MySQL DB side.&lt;BR /&gt;First, please check your computer's firewall or other protective software to make sure that your MySQL is not behind a firewall and is publicly accessible.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#prerequisites" target="_self"&gt;https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#prerequisites&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you are the admin user of the MySQL, you can directly use the admin user to connect to the database which normally has the appropriate privileges already as below.&amp;nbsp;But if you're not the admin user, you must define a MySQL user with appropriate privileges on all databases where the Messaging Connector can capture the changes from.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mysql&amp;gt; CREATE USER 'user'@'%' IDENTIFIED BY 'password';
mysql&amp;gt; GRANT SELECT, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'user'@'%';
mysql&amp;gt; FLUSH PRIVILEGES;
SHOW GRANTS FOR user;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#set-up-mysql-db" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#set-up-mysql-db&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The documentation link you provided also mentions that You must enable binary logging for MySQL replication.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#enable-the-binlog" target="_self"&gt;https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#enable-the-binlog&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please make sure that you have configured the above three points correctly.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Dino Tao&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2024 01:29:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-08-06T01:29:44Z</dc:date>
    <item>
      <title>Cannot create eventstream from MySQL</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Cannot-create-eventstream-from-MySQL/m-p/4080412#M148</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to set up Eventstream from Azure DB for MySQL, following the walkthru &lt;A href="https://learn.microsoft.com/en-us/fabric/real-time-hub/add-source-mysql-database-cdc" target="_blank" rel="noopener"&gt;Add MySQL Database CDC as source in Real-Time hub - Microsoft Fabric | Microsoft Learn&lt;/A&gt;. However I get an error:&lt;/P&gt;&lt;PRE&gt;Create Eventstream source Failed Bad Request&lt;/PRE&gt;&lt;P&gt;without any further messages or hints. Has anyone succeeded with setting up Eventstream from MySQL or has encountered a similar error?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 08:19:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Cannot-create-eventstream-from-MySQL/m-p/4080412#M148</guid>
      <dc:creator>linardskalvanse</dc:creator>
      <dc:date>2024-08-05T08:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create eventstream from MySQL</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Cannot-create-eventstream-from-MySQL/m-p/4082666#M151</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="786108" data-lia-user-login="linardskalvanse" class="lia-mention lia-mention-user"&gt;linardskalvanse&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;According to the screenshot you provided, your Eventstream was created successfully but the data source connection failed. That should be a problem on your MySQL DB side.&lt;BR /&gt;First, please check your computer's firewall or other protective software to make sure that your MySQL is not behind a firewall and is publicly accessible.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#prerequisites" target="_self"&gt;https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#prerequisites&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you are the admin user of the MySQL, you can directly use the admin user to connect to the database which normally has the appropriate privileges already as below.&amp;nbsp;But if you're not the admin user, you must define a MySQL user with appropriate privileges on all databases where the Messaging Connector can capture the changes from.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mysql&amp;gt; CREATE USER 'user'@'%' IDENTIFIED BY 'password';
mysql&amp;gt; GRANT SELECT, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'user'@'%';
mysql&amp;gt; FLUSH PRIVILEGES;
SHOW GRANTS FOR user;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#set-up-mysql-db" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#set-up-mysql-db&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The documentation link you provided also mentions that You must enable binary logging for MySQL replication.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#enable-the-binlog" target="_self"&gt;https://learn.microsoft.com/en-us/fabric/real-time-intelligence/event-streams/add-source-mysql-database-change-data-capture#enable-the-binlog&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please make sure that you have configured the above three points correctly.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Dino Tao&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 01:29:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Cannot-create-eventstream-from-MySQL/m-p/4082666#M151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-06T01:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create eventstream from MySQL</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Cannot-create-eventstream-from-MySQL/m-p/4083188#M152</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your input, unfortunately it does not help. The database is properly set up and has all public access. As it is just a prototype, I'm using the admin user for&amp;nbsp; connection. Moreover, I have set up successful CDC to Confluent cloud with the same DB user, this IMO indicates that the issue is not on the database side. The database error logs also do not show any errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately it feels like blind poking as there is no logging of what actually happens in the Real time hub.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 05:56:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Cannot-create-eventstream-from-MySQL/m-p/4083188#M152</guid>
      <dc:creator>linardskalvanse</dc:creator>
      <dc:date>2024-08-06T05:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create eventstream from MySQL</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Cannot-create-eventstream-from-MySQL/m-p/4083245#M153</link>
      <description>&lt;P&gt;Oddly enouygh just noticed, that screenshot on the official how-to&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/real-time-hub/add-source-mysql-database-cdc#view-data-stream-details" target="_blank"&gt;Add MySQL Database CDC as source in Real-Time hub - Microsoft Fabric | Microsoft Learn&lt;/A&gt;, shows the same "Bad Request" error&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;. So I suppose that the feature is just not yet ready (in the eventstream that was created, there are no events).&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 06:09:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Cannot-create-eventstream-from-MySQL/m-p/4083245#M153</guid>
      <dc:creator>linardskalvanse</dc:creator>
      <dc:date>2024-08-06T06:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create eventstream from MySQL</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/Cannot-create-eventstream-from-MySQL/m-p/4101599#M164</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="786108" data-lia-user-login="linardskalvanse" class="lia-mention lia-mention-user"&gt;linardskalvanse&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback. The issue you mentioned is a known issue, and our team is currently working on a fix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Wenyang&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 06:21:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/Cannot-create-eventstream-from-MySQL/m-p/4101599#M164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-15T06:21:11Z</dc:date>
    </item>
  </channel>
</rss>

