Check your SQL username and passwords and make sure they match what is in config/database.yml .
And BTW that tutorial is mega old and not without its problems. The screen casts are more useful.
Good luck. Don’t drink the wine, and dodge the rapiers if you can.