MySQL driver for Rails in Windows 7 x64

前端 未结 10 1761
长发绾君心
长发绾君心 2020-12-23 14:46

I\'ve got problem with connecting to MySQL database on my freshly installed Windows 7 machine. I\'m getting this error when I try to migrate my database.

!!!         


        
10条回答
  •  旧时难觅i
    2020-12-23 15:28

    Fast forward to March 2012. I solved this problem on windows 7 x64) by renaming my Ruby\b\bin\libmysql.dll and then copying libmysql.dll from C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\lib\opt to Ruby\bin

    There was a newer version of libmysql.dll at C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.37 but the gem didn't like the non 6.x version.

提交回复
热议问题