const mysql = require('mysql'); const config = require('../config'); const con = mysql.createConnection({ host: config.db.host, // 'test-db.verdnatura.es', port: config.db.port, database: config.db.database, user: config.db.user, password: config.db.password, insecureAuth: true }); exports.con = con;