MySQL

Frends templates for MySQL. MySQL is an open-source relational database management system known for its simplicity.
This template generates CSV data from MySQL database Server. Using this template, you can fetch data from MySQL database Server, transform it into CSV file which will be saved on SFTP server.
This template assumes that the following prerequisites are in place:
This template creates a new CSV file based on the data from the SQL query.
The variable SelectionCriteria provides the possibility to add conditions to the SELECT statement. This variable can be left empty.
If the file already exists on the SFTP server, it will be overwritten.
Example CSV data
email;firstname;lastname;title
john@example.org;John;Smith;Mr
jane@example.org;Jane;Doe;Ms
john@example.org;John;Smith;Mr
jane@example.org;Jane;Doe;Ms
john@example.org;John;Smith;Mr
jane@example.org;Jane;Doe;Ms
This template does not handle transient errors separately, however the connection to the SFTP server and MySQL database are retried three time before failing.
The template does not handle any SQL errors that may occur - the errors will be thrown as exceptions.
Directory | File directory for the CSV file on the SFTP server. |
FileName | File name for the file on the SFTP server. |
ServerAddress | SFTP server address. |
ServerUser | SFTP server user. |
ServerPassword 🗝 | SFTP server user's password. |
TableName | Name of the database table. |
ColumnNames | A comma separated list of the columns that are to be selected. |
SelectionCriteria | The WHERE criteria for selecting the correct data from the database. |
ConnectionString 🗝 | Connection string to access the database. |
Frends templates for MySQL. MySQL is an open-source relational database management system known for its simplicity.