我使用的是Ruby1.9和Rails 2.3.4,我已经安装了MysqL-ruby(2.8.1)gem.
当我尝试rake db:创建我得到以下
Couldn’t create database for
{“adapter”=>”MysqL”,
“database”=>”war_development”,
“username”=>”root”,“password”=>nil,
“host”=>”localhost”},charset: utf8,
collation: utf8_unicode_ci (if you set
the charset manually,make sure you
have a matching collation)
我的database.yml有以下开发
development: adapter: MysqL database: war_development username: root password: host: localhost
任何想法出了什么问题?
谢谢,
谭