Working with Rails
A quick note to self (pun intended). In app/controllers/your_controller_here.rb, place this code:
self.establish_connection(
:adapter=>"mysql",
:host=>"localhost",
:username=>"your_username_here",
:password=>"your_password_here",
:database=>"your_database_here"
)
To override the default "'root'@'localhost' identified by '';" when connecting to your db.

