https://github.com/themost-framework/themost-mysql
MOST Web Framework MySQL adapter
https://github.com/themost-framework/themost-mysql
Last synced: 4 months ago
JSON representation
MOST Web Framework MySQL adapter
- Host: GitHub
- URL: https://github.com/themost-framework/themost-mysql
- Owner: themost-framework
- License: bsd-3-clause
- Created: 2020-04-14T04:39:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-14T04:39:31.000Z (about 5 years ago)
- Last Synced: 2025-01-17T02:21:59.984Z (6 months ago)
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @themost/mysql
Most Web Framework MySQL Adapter
## 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"
}
}
...
]If you are intended to use MySQL data adapter as the default database adapter set the property "default" to true.