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) {