A MySQL storage driver for botkit
Last updated 2 years ago by jarredolson .
Apache 2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install botkit-storage-mysql 
SYNC missed versions from official npm registry.


A MySQL storage module for Botkit.


Just require botkit-storage-mysql and pass it a config with a host option. Then pass the returned storage when creating your Botkit controller. Botkit will do the rest. The host is the only required parameter in the configuration, but the configuration is passed through to node-mysql. Anything that node-mysql supports can be used.

Make sure everything you store has an id property, that's what you'll use to look it up later.

var Botkit = require('botkit'),
    var mysqlStorage = require('botkit-storage-mysql')({host: '', user: 'root', password: 'rootPassword', database: 'my_db_name'});,
    controller = Botkit.slackbot({
        storage: mysqlStorage


This software is licensed under the Apache 2 license, quoted below.

Copyright 2016 ForgeX LLC Columbus Ohio

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Current Tags

  • 1.0.5                                ...           latest (2 years ago)

6 Versions

  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (0)

Copyright 2014 - 2016 © |