This commit is contained in:
llopis15 2021-03-12 12:55:16 +01:00
parent 21d153c985
commit bb07a4df57
1 changed files with 12 additions and 0 deletions

12
db/connect.js Normal file
View File

@ -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;