I cannot for any circumstances get my application to work. I have Ruby
on Rails on Windows XP. It will NOT connect my database for some
reason. I am using Instant Rails. I have Apache and MySQL turned on.
What I have tried:
Start with Mongrel.
Ruby script/server
Changing my database.yml file
I am not real familiar with instant rails, but that error is coming from
mysql. I believe instant rails comes with phpmyadmin, make sure your
server is running and if it is, make sure you are using the correct
username and password in config/database.yml. Mysql allows root to
connect from localhost with no password on a default install, but I am
not sure if InstantRails has overridden this. You would need to check
their documentation.