**I’m trying to connect MySQL Databse running on Synology NAS with phpMyAdmin. Everytime i try to run the server i get the following error: **
Error: connect ECONNREFUSED 192.168.178.50:3306 at createConnectionError (node:net:1647:14) at afterConnectMultiple (node:net:1677:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '192.168.178.50', port: 3306
My configuration settings:
const connection = mysql.createConnection({
host: 'NAS',
port: 3306,
user: 'user',
password: 'password',
database: 'testExpress'
})
I tried to use a different user and tried different hostnames but nothing worked
Philipp H is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.