MySQL Query
Query a MySQL database.
Properties
Name | Type | |
---|---|---|
engine | String=mysql:query | |
connection | Object | |
query | String | |
schema | Object |
engine
Must be mysql:query
.
- Required
- Yes
connection
The SQL connection parameters.
- Required
- Yes
Properties
Name | Type | |
---|---|---|
host | String | |
database | String | |
user | String | |
password | String |
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