rake db:create-整理问题 [英] rake db:create - collation issues

查看:123
本文介绍了rake db:create-整理问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

kratos-iii:railsproj zachinglis$ rake db:create
(in /Users/zachinglis/Sites/rails/railsproj)
Couldn't create database for {"adapter"=>"mysql", "host"=>"localhost", "username"=>"root", "password"=>nil, "database"=>"railsproj_development"}, charset: utf8, collation: utf8_general_ci (if you set the charset manually, make sure you have a matching collation)

我使用Sequel Pro甚至创建上述数据库都没有问题.

I had no issues using Sequel Pro and even creating said database.

我该如何解决? 拥有一个空密码从来没有给我问题.我真的对此表示怀疑.

How do I resolve this? Having an empty password never gave me issues before. And I really doubt thats it.

推荐答案

我遇到了与您相同的问题,我和我的朋友都为此感到生气,直到我们找到此链接

I was having the same problem than you, me and my friends were all going mad because of it, until we've found this link http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard

我刚刚按照mysql的安装步骤操作,在这里效果很好:]

I've just followed the mysql installation steps and it worked great here :]

这篇关于rake db:create-整理问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆