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

Error: connect ECONNREFUSED 127.0.0.1:3306

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.