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

后端 未结 5 1436
长情又很酷
长情又很酷 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:21

    You will check out your usrname and password whether its correct or not. Also you will check out whether your mysql server is working correctly. and also some time found the problem of socket path most of the time its is inside /tmp directory but sometimes it may not be. so try with with the default path.

    Hopefully if you will try this it will work for you.

提交回复
热议问题