Topic: db:create and migrate work - application hangs at runtime

I've been struggling with this issue for a few days now and would REALLY appreciate any help on this!

I've tried to connect with several remote databases and the same thing has happened: I CAN successfully create and view a database and table corresponding to a model I made using scaffolding using rake db:create and rake db:migrate..no problem there!

When I run 'rails server' though, I do not see the rails icon on the default page, indicating that there are database connection issues from what I understand. When I try to navigate to localhost:3000/users/new my page just hangs forever.

I have allowed access to all CIDR (not exactly sure what this is) addresses by adding 0.0.0.0/0 to my security group, so I don't think it's a permissions issue. Also, I can connect to the database with 'mysql -h hostname -P...' successfully.

Any help would be greatly appreciated!

Re: db:create and migrate work - application hangs at runtime

Check the database config file in your rails app. Make sure it has the right credentials.

Re: db:create and migrate work - application hangs at runtime

What does you log say?