Nodejs trying to connect to a database and pulls me hostinger this error before i use http://www.freemysqlhosting.net/ was similarly placing the host, user, pass and name of the database and did not erro I think that is the port but idk .. I'm using: app.listen (process.env.PORT || 3000)
So I'm doing:
var connection = mysql.createConnection ({
host: 'mysql.hostinger.es',
user: 'XXXXX',
password: 'XX',
database: 'XXX',
});
Error I get: