From 5522fccb9663af3bfc1ffbec44ced0e9a799407e Mon Sep 17 00:00:00 2001 From: llopis15 Date: Fri, 12 Mar 2021 09:58:11 +0100 Subject: [PATCH] update db --- mariadb.js | 2 ++ mysql.js | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mariadb.js b/mariadb.js index d758c75..70a308c 100644 --- a/mariadb.js +++ b/mariadb.js @@ -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() diff --git a/mysql.js b/mysql.js index 32c29dc..0ed135a 100644 --- a/mysql.js +++ b/mysql.js @@ -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) {