There is something rotten in the state of Denmark

Check your SQL username and passwords and make sure they match what is in config/database.yml .

Also see:

[

Lost connection to MySQL server during query - Rails - Ruby-Forum](Lost connection to MySQL server during query - Rails - Ruby-Forum)

[http://wiki.rubyonrails.org/rails/pages/Mysql+Connection+Problems](http://wiki.rubyonrails.org/rails/pages/Mysql+Connection+Problems)

And BTW that tutorial is mega old and not without its problems. The screen casts are more useful.

[http://rubyonrails.org/screencasts](http://rubyonrails.org/screencasts)

Good luck. Don’t drink the wine, and dodge the rapiers if you can.

  • foobario