Configuring the components - 7.3

MySQL

EnrichVersion
Cloud
7.3
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
EnrichPlatform
Talend Studio
task
Data Governance > Third-party systems > Database components > MySQL components
Data Quality and Preparation > Third-party systems > Database components > MySQL components
Design and Development > Third-party systems > Database components > MySQL components

Before you begin

  • You have created a database connection in the Metadata node of the Repository tree view.

Procedure

  1. In the Basic settings view of the tMysqlInput, select Repository and the database connection from the Property Type list, in this example mydb_test.
  2. In the Table Name field, name the database table, in this example contact.
  3. Click the Edit schema button to define the schema and click the [+] button to add four columns, Email, Phone, City and Postal.
  4. Set the Query Type as Built-In and in the Query box, enter the query as follows.
  5. In the Basic settings view of the tMysqlOutput, select Repository and the database connection selected previously for the tMysqlInput, mydb_test.
  6. From the Action on table list, select Create table and click the Sync columns button to synchronize the table schema with the input schema.
  7. In the Advanced settings view of the tMysqlOutput, add two external columns:
    • Id as MEDIUMINT PRIMARY KEY NOT NULL AUTO_INCREMENT
    • Name as VANCHAR(50) UNIQUE