title: Unhandled rejection SequelizeConnectionError: connect ENOENT
body: <p>I am stuck at a point. I am trying to start /connect using command "npm start" but unable to start npm on server.</p>
  
  <p>I am getting this error:</p>
  
  <pre><code>Unhandled rejection SequelizeConnectionError: connect ENOENT
      at Handshake._callback (/home/ec2-user/webapps/vactivity/node/vactivity/node_modules/sequelize/lib/dialects/mysql/connection-manager.js:63:20)
      at Handshake.Sequence.end (/home/ec2-user/webapps/vactivity/node/vactivity/node_modules/mysql/lib/protocol/sequences/Sequence.js:96:24)
      at Protocol.handleNetworkError (/home/ec2-user/webapps/vactivity/node/vactivity/node_modules/mysql/lib/protocol/Protocol.js:358:14)
      at Connection._handleNetworkError (/home/ec2-user/webapps/vactivity/node/vactivity/node_modules/mysql/lib/Connection.js:382:18)
      at Socket.emit (events.js:95:17)
      at net.js:441:14
      at process._tickCallback (node.js:442:13)
  </code></pre>
  
  <p>Apart from this my website work on nodejs &amp; have nginx server configured on server.</p>
  
  <p>Every thing started when I tried to set apache for adding a wordpress blog website. Since nginx already working on port 80. I was trying to set apache on another port so that everything work and ended up with above error. Now my website is not starting at all.</p>
  
  <p>Edit:
  My website is running using nodejs. I needed a wordpress blog website to run along and so i checked if there is a scope for apache on my server.
  I found that apache along with nginx service was already running and mysql as well.</p>
  
  <ul>
  <li>nginx is essential to run "adminer", a database management tool</li>
  <li>Since nginx and apache was running on same ports, i tried to set apache on another port, other than default port.</li>
  <li>After that I restarted apache, stopped mysql, stopped nginx and also stopped node</li>
  <li>I used <code>pkill node</code> command for stopping node service.</li>
  <li>Then restarted everything but got the above error.</li>
  <li>I tried many things, and finally reset everything.</li>
  <li>Ever since then I am stuck on this error.</li>
  </ul>
  
  <p>Can anyone help?</p>