0
我試圖在Mac OS X Lion中設置rails 2.2.2應用程序。而做「耙分貝:遷移」,我得到以下錯誤:Rake在Mac OS X Lion中顯示連接錯誤
rake aborted!
No connection to server
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
我mysql安裝寶石用下面的命令:
env ARCHFLAGS="-arch x86_64" gem install mysql -v='2.8.1' -- --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib --with-mysql-include=/usr/local/mysql/include --with-mysql-config=/usr/local/mysql/bin/mysql_config
我能夠與連接到MySQL服務器mysql客戶端在config/database.yml中具有相同的信息。
請幫我解決這個問題。
謝謝。問題在安裝memcached之後解決。 –