Scaffold generation problem

My guess is that you do not have:

1) A database server installed or running, or
2) A valid config/database.yml