- 
            Double-click tFileRowCount to open its
							Basic settings view.
            
         
 
- 
            In the File Name field, type in the full
						path of the .txt file. You can also click the [...] button to browse for this file.
            
Select the Ignore empty rows check
						box.
          
- 
            Double-click tJava to open its Basic settings view.
            
            
In the Code box, enter the function to
						print out the number of rows in the file:
            
               System.out.println(globalMap.get("tFileRowCount_1_COUNT"));
 
             
          
- 
            Click the if trigger connection to open
						its Basic settings view.
            
            
In the Condition box, enter the statement
						to judge if the number of rows is 2:
            
               ((Integer)globalMap.get("tFileRowCount_1_COUNT"))==2
 
             
            This if trigger means that if the row
						count equals 2, the rows of the .txt file
						will be written to MySQL.
          
- 
            Double-click tFlieInputDelimited to open
						its Basic settings view.
            
            
In the File name/Stream field, type in
						the full path of the .txt file. You can also click the [...] button to browse for this file.
          
- 
            Click the Edit schema button open the
						schema editor.
            
         
 
- 
            Click the [+] button to add two columns,
						namely id and name, respectively of the integer and string
						type.
         
 
- 
            Click the Yes button in the pop-up box to
						propagate the schema setup to the following component.
            
         
 
- 
            Double-click tMysqlOutput open its
							Basic settings view.
            
         
 
- 
            In the Host and Port fields, enter the connection details.
            
In the Database field, enter the database
						name.
            In the Username and Password fields, enter the authentication details.
            In the Table field, enter the table name,
						for instance "staff".
          
- 
            In the Action on table list, select
							Create table if not exists.
            
In the Action on data list, select
							Insert.