mogy-mysql

0.1.4 • Public • Published

mogy-mysql

MySQL query activity for mogy.

Installation

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

Config

In your mogy environment config file, under the activities key, add :

"mysql": {
    "host"     : "localhost",
    "user"     : "user",
    "password" : "****",
    "database" : "project",
    "port": 8888
}

Sample Decider Usage

activity({
    name: 'myQuery',
    activity: 'mysql',
    input: {
        query: 'show tables'
    }
})

Readme

Keywords

Package Sidebar

Install

npm i mogy-mysql

Weekly Downloads

0

Version

0.1.4

License

MIT

Last publish

Collaborators

  • neyric