connect node server with knex database

Solutions on MaxInterview for connect node server with knex database by the best coders in the world

showing results for - "connect node server with knex database"
Ariana
27 Aug 2019
1const knex = require('knex')({
2  client: 'mysql',
3  connection: {
4    host : '127.0.0.1',
5    port : 3306,
6    user : 'your_database_user',
7    password : 'your_database_password',
8    database : 'myapp_test'
9  }
10});
similar questions
queries leading to this page
connect node server with knex database