<?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: Fabric Data Factory pipeline Copy activity failed: MySQL tables upload operation unsuccessful. in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4864411#M8692</link>
    <description>&lt;P&gt;All Right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I were you, I would do the following. You load your data in blocks until the table is completely loaded.&lt;BR /&gt;This should be relatively easy to implement.&lt;BR /&gt;I know it's not ideal, but at least it would be your solution.&lt;/P&gt;&lt;P&gt;This will allow you to bypass any network issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, sometimes even an error message is not always accurate.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try testing a different destination to rule out the Fabric Warehouse.&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 02 Nov 2025 19:19:35 GMT</pubDate>
    <dc:creator>spaceman127</dc:creator>
    <dc:date>2025-11-02T19:19:35Z</dc:date>
    <item>
      <title>Fabric Data Factory pipeline Copy activity failed: MySQL tables upload operation unsuccessful.</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4863579#M8687</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Whenever we try to load tables with a high row count from our on-prem MySQL databases using the Copy Data activity in Fabric Data Factory, we can see the data in the Data Preview option. However, the loading process fails with an error. We have checked the MySQL connections and other configurations but have not been able to find a solution.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could anyone please advise how to resolve this issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Failure happened on 'Source' side. ErrorCode=UserErrorWriteFailedFileOperation,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The file operation is failed, upload file failed at path: 'fb0a7fd8-623f-447f-8a0f-0cba6ece7e01/1e8d11a2-e343-4c3f-b75e-d5cbbc880711/Staging/eae1ef39-946d-4531-a18f-25bb2736082d/MSSQLImportCommand/`resource_master`.parquet'.,Source=Microsoft.DataTransfer.Common,''Type=System.Net.Sockets.SocketException,Message=An existing connection was forcibly closed by the remote host,Source=MySqlConnector,'&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 15:17:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4863579#M8687</guid>
      <dc:creator>Gaurav-J</dc:creator>
      <dc:date>2025-10-31T15:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Data Factory pipeline Copy activity failed: MySQL tables upload operation unsuccessful.</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4864401#M8688</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="850802" data-lia-user-login="Gaurav-J" class="lia-mention lia-mention-user"&gt;Gaurav-J&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does the copying stop immediately or does it take a while?&lt;/P&gt;&lt;P&gt;And what is your destination? (Lakehouse, Warehouse, etc.)&lt;/P&gt;&lt;P&gt;I would do the following. The Copy activity offers a number of options, such as staging. You could test that out.&lt;BR /&gt;Then you could reduce the number of rows that are copied with an SQL statement to test whether that works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here you can find a documentation about Copy Activity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/copy-activity-performance-and-scalability-guide" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/copy-activity-performance-and-scalability-guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here is another documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/decision-guide-data-movement" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/decision-guide-data-movement&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2025 18:25:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4864401#M8688</guid>
      <dc:creator>spaceman127</dc:creator>
      <dc:date>2025-11-02T18:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Data Factory pipeline Copy activity failed: MySQL tables upload operation unsuccessful.</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4864404#M8689</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="644531" data-lia-user-login="spaceman127" class="lia-mention lia-mention-user"&gt;spaceman127&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;My target platform is Fabric Data Warehouse. The process fails in 20-30 seconds usually.One of the tables I am migrating contains only about 20,000 records, yet the process fails with an error. The &lt;EM&gt;Enable Staging&lt;/EM&gt; option is already turned on. I have observed that the migration works if I load the data in batches of 9,000 records.&lt;/P&gt;&lt;P&gt;Is there a way to migrate the entire table in a single run without encountering this error? I would prefer not to use Dataflow Gen2 for this solution.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any guidance or suggestions to resolve this issue would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2025 18:36:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4864404#M8689</guid>
      <dc:creator>Gaurav-J</dc:creator>
      <dc:date>2025-11-02T18:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Data Factory pipeline Copy activity failed: MySQL tables upload operation unsuccessful.</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4864407#M8690</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="850802" data-lia-user-login="Gaurav-J" class="lia-mention lia-mention-user"&gt;Gaurav-J&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All right,&lt;/P&gt;&lt;P&gt;20,000 lines isn't really that much.&lt;BR /&gt;Dataflow Gen2, as you say, would be one option. Another option would be the copy job. Have you checked that too?&lt;/P&gt;&lt;P&gt;Have you also checked the connection speed? It seems that your network connection is too slow for copying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2025 18:57:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4864407#M8690</guid>
      <dc:creator>spaceman127</dc:creator>
      <dc:date>2025-11-02T18:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Data Factory pipeline Copy activity failed: MySQL tables upload operation unsuccessful.</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4864410#M8691</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="644531" data-lia-user-login="spaceman127" class="lia-mention lia-mention-user"&gt;spaceman127&lt;/a&gt;&amp;nbsp;Yes I have also tried copy job. I have also tried to do the same process with three different networks. Still I am not able to copy the tables from MySQL database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance or suggestions to resolve this issue would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2025 19:11:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4864410#M8691</guid>
      <dc:creator>Gaurav-J</dc:creator>
      <dc:date>2025-11-02T19:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Data Factory pipeline Copy activity failed: MySQL tables upload operation unsuccessful.</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4864411#M8692</link>
      <description>&lt;P&gt;All Right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I were you, I would do the following. You load your data in blocks until the table is completely loaded.&lt;BR /&gt;This should be relatively easy to implement.&lt;BR /&gt;I know it's not ideal, but at least it would be your solution.&lt;/P&gt;&lt;P&gt;This will allow you to bypass any network issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, sometimes even an error message is not always accurate.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try testing a different destination to rule out the Fabric Warehouse.&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2025 19:19:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4864411#M8692</guid>
      <dc:creator>spaceman127</dc:creator>
      <dc:date>2025-11-02T19:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Data Factory pipeline Copy activity failed: MySQL tables upload operation unsuccessful.</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4866989#M8707</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="850802" data-lia-user-login="Gaurav-J" class="lia-mention lia-mention-user"&gt;Gaurav-J&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to the Microsoft Community Forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error you are facing in Fabric Data Factory when copying large MySQL tables to Fabric Data Warehouse, MySQL server is terminating the connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try below things to fix the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. You mentioned that 9,000 rows batches work, By Using SQL queries with LIMIT and OFFSET in the source configuration. Implement pagination logic in the pipeline to loop through batches.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. In MySQL Server Settings, Check and increase below things.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;net_read_timeout&lt;BR /&gt;net_write_timeout&lt;BR /&gt;max_allowed_packet (set to at least 64MB or higher)&lt;BR /&gt;wait_timeout and interactive_timeout&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: These settings help prevent premature connection drops during large transfers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Instead of selecting the table directly, use a custom SQL query like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SELECT * FROM table_name LIMIT 9000 OFFSET 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: This gives more control and avoids full table scans.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. In the Copy Activity settings, Enable compression to reduce payload size. Use parallel copy with multiple threads if supported.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5. Use Self-hosted Integration Runtime if you are accessing on-prem MySQL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;6. Check the staging storage account has sufficient permissions and performance. Try to switch to another staging location temporarily to isolate the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;7. In Copy Activity, break the pipeline into multiple smaller activities. Use ForEach loop with dynamic ranges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer below link.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/connector-mysql-database-copy-activity" target="_blank"&gt;Configure MySQL in a copy activity - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information helps. Please do let us know if you have any further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 12:36:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4866989#M8707</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-11-05T12:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Data Factory pipeline Copy activity failed: MySQL tables upload operation unsuccessful.</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4870449#M8732</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="850802" data-lia-user-login="Gaurav-J" class="lia-mention lia-mention-user"&gt;Gaurav-J&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 04:46:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4870449#M8732</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-11-10T04:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Data Factory pipeline Copy activity failed: MySQL tables upload operation unsuccessful.</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4873898#M8763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/850802" target="_blank"&gt;@Gaurav-J&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 05:50:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Fabric-Data-Factory-pipeline-Copy-activity-failed-MySQL-tables/m-p/4873898#M8763</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-11-13T05:50:25Z</dc:date>
    </item>
  </channel>
</rss>

