Error when trying to create database with Rails, rake db:create

后端 未结 5 1402
长情又很酷
长情又很酷 2020-12-25 15:28

I\'m using Ruby1.9 and Rails 2.3.4 and I have mysql-ruby (2.8.1) gem installed.

when I try rake db:create I get the following

Couldn\'t create

5条回答
  •  伪装坚强ぢ
    2020-12-25 16:03

    $ sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql/bin/mysql
    

    works for me. Thank you!

提交回复
热议问题