connect
This commit is contained in:
parent
21d153c985
commit
bb07a4df57
|
@ -0,0 +1,12 @@
|
|||
const mysql = require('mysql');
|
||||
const config = require('../config');
|
||||
|
||||
var con = mysql.createConnection({
|
||||
host: "test-db.verdnatura.es",
|
||||
database: "vn",
|
||||
user: config.userDev,
|
||||
password: config.passwordDev,
|
||||
port: 3307,
|
||||
});
|
||||
|
||||
exports.con = con;
|
Reference in New Issue