# hubot-mysql-brain

> A hubot script to persist hubot's brain using MySQL

Latest version **0.1.3** (published 2015-08-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install hubot-mysql-brain
pnpm add hubot-mysql-brain
yarn add hubot-mysql-brain
bun add hubot-mysql-brain
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2015-08-12 |
| First published | 2015-08-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Akhyar Amarullah |
| Maintainers | akhyrul |
| Keywords | hubot, mysql, hubot-brain |

## Links

- npm: https://www.npmjs.com/package/hubot-mysql-brain
- Repository: https://github.com/akhyrul/hubot-mysql-brain
- Homepage: https://github.com/akhyrul/hubot-mysql-brain#readme
- Issues: https://github.com/akhyrul/hubot-mysql-brain/issues
- npm.io page: https://npm.io/package/hubot-mysql-brain

## Dependencies (1)

- [mysql](https://npm.io/package/mysql.md) ^2.8.0

## Recent versions

- 0.1.3 (latest) — 2015-08-12
- 0.1.2 — 2015-08-12
- 0.1.1 — 2015-08-12
- 0.1.0 — 2015-08-12

## README

# hubot-mysql-brain
 A hubot script to persist hubot's brain using MySQL

 See [`scripts/mysql-brain.coffee`](scripts/movie.coffee) for full documentation.

 ## Installation

 1. In hubot project repo, run:

 ```
 npm install hubot-mysql-brain --save
 ```

 2. Then add **hubot-mysql-brain** to your `external-scripts.json`:

   ```json
   [
     "hubot-mysql-brain"
   ]
   ```

 3. Create your database schema

   ```
   CREATE TABLE `brain` (
     `id` INT,
     `data` TEXT,
     PRIMARY KEY (`id`)
     )
   ```

## Configurations

- **MYSQL_URL** : e.g. `mysql://user:pass@host/db_name`
- **MYSQL_TABLE** : default to `brain`

---
_Source: https://npm.io/package/hubot-mysql-brain · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
