Wednesday, April 22, 2009

Error in loading mysql library in rails


Error in loading mysql library

The specified module could not be found. - C:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/


For this to work, you must have libmysql.dll in your PATH environmental variable. If you have MySQL installed locally,
just make sure that \bin is in your path. If you don't have MySQL installed locally, you can
install one or more of the MySQL tools, find the libmysql.dll included in their bin directory, and copy it to
the %SystemRoot%\System32 folder.

Reference: RubyInstallDirectory/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/README

No comments: