@themost/mysql
TypeScript icon, indicating that this package has built-in type declarations

2.7.0 • Public • Published

npm Dependency status for latest release GitHub top language License GitHub last commit GitHub Release Date npm

MOST Web Framework Logo

@themost/mysql

Most Web Framework MySQL Adapter

License: BSD-3-Clause

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"
        }
    }
    ...
]

Package Sidebar

Install

npm i @themost/mysql

Weekly Downloads

15

Version

2.7.0

License

BSD-3-Clause

Unpacked Size

313 kB

Total Files

14

Last publish

Collaborators

  • themost