Question: I have a piece of code that has nested call backs. Each callback has a response. One is name res and one is named execRes. 

Is there a wide spread convention of naming these same name variables? Or is it up to the discretion of the programmer?

```
app.post('/url', upload.array(), function(req, res, next) {
  returnsModel.find().where().exec((execErr, execRes) => {
    if (execErr) {
      res.send(500, {
        error: execErr
      });
      console.log(execErr);
    } else {
      res.send(JSON.stringify(execRes));
      console.log(JSON.stringify(execRes));
    }
  });
});

```

Answer: 
Have you started your XAMPP Server ?.

connect ECONNREFUSED 127.0.0.1:3306 -- this error came, when you not started your XAMPP server.

Please remove socketPath & try once.

I have faced same kind of issue, when I not started the XAMPP server.
in my case is the docker network that makes the problem.

I add to my docker-compose file:
network\_mode: "host"