{
  "_from": "loopback-connector-mysql@^2.2",
  "_id": "loopback-connector-mysql@2.4.1",
  "_inBundle": false,
  "_integrity": "sha1-RMH6DmXiADLYDzAKA1PhS4ZNw/Q=",
  "_location": "/loopback-connector-mysql",
  "_phantomChildren": {
    "bluebird": "3.5.0",
    "debug": "2.6.8",
    "msgpack5": "3.5.0",
    "strong-globalize": "2.8.5"
  },
  "_requested": {
    "escapedName": "loopback-connector-mysql",
    "fetchSpec": "^2.2",
    "name": "loopback-connector-mysql",
    "raw": "loopback-connector-mysql@^2.2",
    "rawSpec": "^2.2",
    "registry": true,
    "saveSpec": null,
    "type": "range"
  },
  "_requiredBy": [
    "#USER",
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/loopback-connector-mysql/-/loopback-connector-mysql-2.4.1.tgz",
  "_shasum": "44c1fa0e65e20032d80f300a0353e14b864dc3f4",
  "_spec": "loopback-connector-mysql@^2.2",
  "_where": "/var/www/html/recipes/api",
  "bugs": {
    "url": "https://github.com/strongloop/loopback-connector-mysql/issues"
  },
  "bundleDependencies": false,
  "dependencies": {
    "async": "^0.9.0",
    "debug": "^2.1.1",
    "loopback-connector": "^2.4.0",
    "mysql": "^2.11.1",
    "strong-globalize": "^2.5.8"
  },
  "deprecated": false,
  "description": "MySQL connector for loopback-datasource-juggler",
  "devDependencies": {
    "bluebird": "~2.9.10",
    "eslint": "^2.13.1",
    "eslint-config-loopback": "^4.0.0",
    "loopback-datasource-juggler": "^2.53.0",
    "mocha": "^2.1.0",
    "rc": "^1.0.0",
    "should": "^8.0.2",
    "sinon": "^1.15.4"
  },
  "homepage": "https://github.com/strongloop/loopback-connector-mysql#readme",
  "license": "MIT",
  "main": "index.js",
  "name": "loopback-connector-mysql",
  "optionalDependencies": {},
  "publishConfig": {
    "tag": "lts"
  },
  "readme": "# loopback-connector-mysql\n\n`loopback-connector-mysql` is the MySQL connector module for [loopback-datasource-juggler](https://github.com/strongloop/loopback-datasource-juggler/).\n\nFor complete documentation, see [StrongLoop Documentation | MySQL Connector](http://loopback.io/doc/en/lb2/MySQL-connector.html).\n\n## Installation\n\n````sh\nnpm install loopback-connector-mysql --save\n````\n\n## Basic use\n\nTo use it you need `loopback-datasource-juggler`.\n\n1. Setup dependencies in `package.json`:\n\n    ```json\n    {\n      ...\n      \"dependencies\": {\n        \"loopback-datasource-juggler\": \"latest\",\n        \"loopback-connector-mysql\": \"latest\"\n      },\n      ...\n    }\n    ```\n\n2. Use:\n\n    ```javascript\n        var DataSource = require('loopback-datasource-juggler').DataSource;\n        var dataSource = new DataSource('mysql', {\n            host: 'localhost',\n            port: 3306,\n            database: 'mydb',\n            username: 'myuser',\n            password: 'mypass'\n        });\n    ```\n    You can optionally pass a few additional parameters supported by [`node-mysql`](https://github.com/felixge/node-mysql),\n    most particularly `password` and `collation`. `Collation` currently defaults\n    to `utf8_general_ci`. The `collation` value will also be used to derive the\n    connection charset.\n\n## Running Tests\n\nThe tests in this repository are mainly integration tests, meaning you will need to run them using our preconfigured test server.\n\n1. Ask a core developer for instructions on how to set up test server credentials on your machine\n2. `npm test`\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/strongloop/loopback-connector-mysql.git"
  },
  "scripts": {
    "lint": "eslint .",
    "posttest": "npm run lint",
    "pretest": "node pretest.js",
    "test": "mocha --timeout 10000 test/*.js"
  },
  "version": "2.4.1"
}
