MySQL query activity for mogy.
In your mogy project, install the dependency using npm :
$ npm install mogy-mysql --save
To register the mysql
activity to Amazon Simple Workflow :
$ mogy register
In your mogy environment config file, under the activities
key, add :
"mysql": {
"host" : "localhost",
"user" : "user",
"password" : "****",
"database" : "project",
"port": 8888
}
activity({
name: 'myQuery',
activity: 'mysql',
input: {
query: 'show tables'
}
})