Skip to main content Skip to complementary content

Extracting data from the database table and writing it into an LDIF file

Procedure

  1. Double-click tMysqlInput to open its Basic settings view.
  2. Fill in the Host, Port, Database, Username, and Password fields with your MySQL database connection details.
  3. Click the [...] button next to Edit schema and in the pop-up window define the schema by adding four columns: dn, id_owners, registration, and make, all of String type.
  4. In the Table Name field, enter the name of the table from which the data will be read. In this example, it is ldifdata.
  5. Click the Guess Query button to fill in the Query field with the auto-generated query.
  6. Double-click tFileOutputLDIF to open its Basic settings view.
  7. In the File Name field, browse to or enter the path to the LDIF file to be generated. In this example, it is E:/out.ldif.
  8. Select the operation Add from the Change type list.
  9. Click the Sync columns button to retrieve the schema from the preceding component.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!