Guest User

Untitled

a guest
Feb 19th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. require('dotenv').config()
  2. const knex = require('knex')({
  3. client: 'mysql',
  4. connection: {
  5. host: process.env.DB_HOST,
  6. user: process.env.DB_USER,
  7. password: process.env.DB_PASS,
  8. database: process.env.DB_NAME
  9. }
  10. })
  11.  
  12. module.exports = knex
Add Comment
Please, Sign In to add comment