# Dropping and linking the components

## Procedure

1. Drop two tMysqlConnection, a tMysqlInput, a tLogRow, and a tMysqlClose components onto the design workspace.
2. Link the first tMysqlConnection to the second tMysqlConnection and the second tMysqlConnection to tMysqlInput using Trigger &gt; On Subjob Ok connections.
3. Link tMysqlInput to tLogRow using a Row &gt; Main connection.
4. Link tMysqlInput to tMysqlClose using a Trigger &gt; On Subjob Ok connection.

   ![](https://help.qlik.com/talend/en-US/components/8.0/Resources/images/use_case-tmysqlinput-dynamic_connection-1.png)