@themost/mysql
Version:
MOST Web Framework MySQL Data Adapter
41 lines (34 loc) • 1.55 kB
Markdown
[](https://www.npmjs.com/package/@themost%2Fmysql)


[](https://github.com/themost-framework/themost/blob/master/LICENSE)


[](https://www.npmjs.com/package/@themost%2Fmysql)

@themost/mysql
===========
Most Web Framework MySQL Adapter
License: [BSD-3-Clause](https://github.com/themost-framework/mysql/blob/master/LICENSE)
## Install
npm install @themost/mysql
## Usage
Register MySQL adapter on app.json as follows:
"adapterTypes": [
...
{ "name":"MySQL Data Adapter", "invariantName": "mysql", "type":"@themost/mysql" }
...
],
adapters: [
...
{ "name":"development", "invariantName":"mysql", "default":true,
"options": {
"host":"localhost",
"port":3306,
"user":"user",
"password":"password",
"database":"test"
}
}
...
]