Rails 2.1 script/dbconsole
2008 June 6
In Rails 2.1, you have a new script/dbconsole
Instead of accessing your MySQL database with
mysql -u <username> -p
You can instead do
script/dbconsole
and if you database has a password, just do
script/dbconsole -p
All this works provided that you have the correct database.yml settings.