rake db:create - collation issues

前端 未结 7 2062
逝去的感伤
逝去的感伤 2020-12-10 18:07
kratos-iii:railsproj zachinglis$ rake db:create
(in /Users/zachinglis/Sites/rails/railsproj)
Couldn\'t create database for {\"adapter\"=>\"mysql\", \"host\"=>\         


        
相关标签:
7条回答
  • I happened on same problem after installing new database server MySQL5.0 to 5.1. If you have installed new db-server, Your mysql gem library is not suitable for your database server. You may solve this by reinstall mysql gem lib.

     sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/your/mysql_config
    
    0 讨论(0)
提交回复
热议问题