MySQL Query

Query a MySQL database.

Properties

NameType
engineString=mysql:query
connectionObject
queryString
schemaObject

engine

Must be mysql:query.

Required
Yes

connection

The SQL connection parameters.

Required
Yes

Properties

NameType
hostString
databaseString
userString
passwordString

connection.host

The network address of the MySQL server e.g. `db.example.com:3306`.

Required
Yes

connection.database

The name of the MySQL database.

Required
Yes

connection.user

The username to authenticate to MySQL.

Required
Yes

connection.password

The password to authenticate to MySQL. Requires `username`.

Required
Yes

query

The SQL query to retrieve the data.

Required
Yes

schema

Define the schema of the data, entering the field name returned by the SQL query into `Source`.

Required
Yes