When Ghost is unable to connect to your MySQL server you will see this error:

Error: connect ECONNREFUSED

To fix

Ensure the server is running using mysql or run the server with:

sudo service mysql start

If this error occurs during a ghost install, rerun the setup phase using ghost setup.