Skip to content

Instantly share code, notes, and snippets.

@oxlb
Created May 21, 2022 05:55
Show Gist options
  • Save oxlb/bf6857ffc0dc912c832564232937abe5 to your computer and use it in GitHub Desktop.
Save oxlb/bf6857ffc0dc912c832564232937abe5 to your computer and use it in GitHub Desktop.
const knex = require('knex')({
client: 'mysql',
connection: {
host : '192.168.1.106',
port : 3306,
user : 'user',
password : 'user',
database : 'mydb'
}
});
module.exports = { knex }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment