When I try to start my rails server i get this error
C:/Ruby187/lib/ruby /gems/1.8/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.8/mysql 2.so: 193: %1 is not a valid Win32 application.
- C:/Ruby187/lib/ruby/gems/1.8 /gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.8/mysql2.so (LoadError)
Tried changing the libmysql.dll file even then it doesn't work.
The problem is with mysql. It is a 64 bit installation. Change it to 32bit and it runs fine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.