Hey guys,
I''ve got an issue running rails on a remote machine via shell.  
Everything is running great the only problem is I can''t get rails to  
connect to the DB on the webhost.  Here is the situation:
1. I can connect to the DB via mysql command in the shell so I know  
the DB is hosted on the localhost.
2. I can connect remotely to the DB with Cocoa MySql on OSX.
but
3. I cannot run a scaffold command on the server via shell as I get  
an error saying the connection to the DB was refused in the shell.    
I have tried changing the database.yml to connect through the domain  
name instead of localhost but still no such luck.  The username and  
pass are correct as well as the DB name.
My buddy runs this server so if there are any settings with mysql  
that need to be changed he can do it for me.  I just don''t know what  
needs to be reconfigured.  Any ideas?
- Jim