> There should be three databases at least. Development, test &
> production. It's not duplicate work migrations take care of moving the
> schema forward (at least for ActiveRecord).

I tried the migration with it:

MacBook-Pro:MARKT jmerlino$ rake db:migrate RAILS_ENV=production
(in /Users/jmerlino/MARKT )
rake aborted!
Access denied for user 'root'@'localhost' (using password: YES)

This happens despite having a real simple password of only letters.

My database.yml file has this for production:

production:
  adapter: mysql
  encoding: utf8
  database: website_production
  host: localhost
  username: root
  password: mymysql

Also, I can access mysql via command line:

mysql -u root website_development --password=mymysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 581
Server version: 5.1.40 MySQL Community Server (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the current input 
statement.

So I'm not sure why I get rake aborted error.

Thanks for response.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to