Windows 7(64bit) + MySQL 5.1 (64bit) で gem mysql でエラーが出たときの対処法
タイトルの環境で「有効な 32bit アプリケーションではない」みたいなエラーが出る時の対処法メモ。
32bit 版の MySQL ならば、[MySQL path]\bin 配下の libmySQL.dll を [ruby path]\bin に放り込めばいいらしいのだけど、それでも動かない。で調べると以下のページを発見。
MySQL driver for Rails in Windows 7 x64 - Stack Overflow:
どうやら、InstantRails に含まれる libmySQL.dll を使えばいいらしい。
ここからダウンロード可能。(InstantRails の SVN)
おそらく、MySQL に dll も 64bitバイナリなのが原因かな。
同じようにはまっている人がいればご参考にどうぞ。
| パーマリンク
トラックバック
このエントリーのトラックバックURL(末尾の /_nospam_を削除してください。):
http://www.greenspace.info/cgi-bin/mt/mt-tb-post.cgi/277/_nospam_
コメント (4)
I keep getting a javascript error popup when I try posting a comment. Does this occur for anybody else? I do not exactly have the most up to date computer so maybe that is the issue.
skil hd77 parts
With the whole thing which seems to be building within this particular subject matter, all your viewpoints are generally very exciting. Having said that, I appologize, but I do not subscribe to your whole strategy, all be it exciting none the less. It appears to us that your commentary are not entirely validated and in simple fact you are your self not totally confident of the assertion. In any event I did take pleasure in looking at it.

I started to follow your blog
投稿者: hd pornolar | 2011年3月10日 13:23