rails _3.0.3_ new rails303 --database=mysql
YOUR_PATH\rails303>bundle install
After you config username and password (that'll be used to connect to mysql database adapter) in database.yml file (YOUR_PROJECT_PATH/config/database.yml)
Type "rake db:create" in the terminal to create the database (its name is the same as you config in database.yml)
No comments:
Post a Comment