title: How can I resolve a timeout using Azure Data Factory (ADF) when connecting to MySQL?
body: <p>I am trying to copy data from a MySQL database to Azure SQL Server but I am getting a timeout error:</p>
  <blockquote>
  <p>Operation on target Copy MyTable failed:
  ErrorCode=UserErrorFailedToConnectOdbcSource,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ERROR
  [08001] [Microsoft][MySQL] (1004) The connection has timed out while
  connecting to server: xxxxx.xxxxxx.us-west-2.rds.amazonaws.com at
  port:
  1234.,Source=Microsoft.DataTransfer.Runtime.GenericOdbcConnectors,''Type=System.Data.Odbc.OdbcException,Message=ERROR
  [08001] [Microsoft][MySQL] (1004) The connection has timed out while
  connecting to server: xxxxx.xxxxxx.us-west-2.rds.amazonaws.com at
  port: 1234.,Source=,'</p>
  </blockquote>
  <p>I can preview data while looking at the source of my Copy Data task. There is no timeout. I see all of the rows and columns. I even changed the query to limit the results to 2 rows.</p>
  <pre><code>SELECT mytable.id, mytable.name FROM myschema.mytable LIMIT 2;
  </code></pre>
  <p>However, when I publish the pipeline and trigger it to run I get the timeout error. How can I resolve the timeout using Azure Data Factory (ADF) when connecting to MySQL?</p>