Ruby on Rails Sunday, October 30, 2011

c:\Fedena\fedena2.1_bundle_package>c:\Ruby187\lib\ruby\gems\1.8\bin
\rake db:crea
te --trace
(in c:/Fedena/fedena2.1_bundle_package)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:create
Couldn't create database for {"port"=>3306, "username"=>"admin",
"adapter"=>"mys
ql", "database"=>"fedena", "host"=>"127.0.0.1", "password"=>"admin"},
charset: u
tf8, collation: utf8_unicode_ci (if you set the charset manually,
make sure you
have a matching collation)

database.yml has
development:
host: 127.0.0.1
adapter: mysql
database: fedena
port: 3306
username: admin
password: admin

test: &test
host: 127.0.0.1
adapter: mysql
database: fedena
port: 3306
username: admin
password: admin

production:
host: 127.0.0.1
adapter: mysql
database: fedena
port: 3306
username: admin
password: admin

cucumber:
<<: *test


Using Windows 7, MySQL 5.0, Ruby 1.8.7 - p302

Someone can help? I am new to Ruby and MySQL

Thanks

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment