aoberegg / ep_user_pad

User-Management System for etherpad-lite
Apache License 2.0
5 stars 8 forks source link

Connection Refused #3

Open rahajiki opened 10 years ago

rahajiki commented 10 years ago

Need to set socketPath key within hooks.js and the object dbAuthParams.

What I did based off this information http://stackoverflow.com/questions/8825342/connect-econnrefused-node-js-sql.

var dbAuthParams = {
    host: dbAuth.host,
    user: dbAuth.user,
    password: dbAuth.password,
    database: dbAuth.database,
    socketPath : dbAuth.port, [This needs to be added in.]
    insecureAuth: true,
    stringifyObjects: true
};