Question: how to extract data from database in talend?
Answer: Double-click tMemSQLInput to open its Basic Settings view in the Component tab.
Select the Use Existing Connection check box. ... 
Set the Schema as Built-in and click Edit schema to define the data structure of the database table to read data from. ... 
Fill the Table field with the database table, customers in this example.