Rails 2.1 script/dbconsole

2008 June 6
by Fadhli

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.

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS