update db

This commit is contained in:
llopis15 2021-03-12 09:58:11 +01:00
parent 67a64f6417
commit 5522fccb96
2 changed files with 4 additions and 1 deletions

View File

@ -3,8 +3,10 @@ const config = require('./config');
const pool = mariadb.createPool({
host: "test-db.verdnatura.es",
database: "vn",
user: config.userDev,
password: config.passwordDev,
port: 3307,
connectionLimit: 5
});
pool.getConnection()

View File

@ -5,7 +5,8 @@ var con = mysql.createConnection({
host: "test-db.verdnatura.es",
database: "vn",
user: config.userDev,
password: config.passwordDev
password: config.passwordDev,
port: 3307,
});
con.connect(function(err) {