rake db:create - collation issues

前端 未结 7 2092
逝去的感伤
逝去的感伤 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条回答
  •  甜味超标
    2020-12-10 18:58

    Does the database already exist? Is MySQL setup and running? What changed? (OS Upgrade maybe)? Does a fresh rails app work? What about your other environments (test, production)?

    Is there a back trace? you could post (use rake --trace db:create). Usually MySQL is returns a very explicit error message, rake is just eating it.

提交回复
热议问题