Environment : ruby 1.9.2 , rails 2.3.18 and windows 7 with 64 bit
For mysql:
Step1: install mysql using mysql installer
Step 2 : http://dev.mysql.com/downloads/connector/c/
Step 3: Download mysql-connector-c-noinstall-6.0.2-win32.zip
Step 4: Decided to extract it to the root of my disk, so I ended with a folder named
Step 5:
Step 6: Copy libmysql.dll from connector folder which we just extracted to C:\Ruby192\bin>
reference : http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/
For mysql:
Step1: install mysql using mysql installer
Step 2 : http://dev.mysql.com/downloads/connector/c/
Step 3: Download mysql-connector-c-noinstall-6.0.2-win32.zip
Step 4: Decided to extract it to the root of my disk, so I ended with a folder named
mysql-connector-c-noinstall-6.0.2-win32
in there.Step 5:
gem install mysql --platform=ruby -- --with-mysql-dir=C:/mysql-connector-c-noinstall-6.0.2-win32
Step 6: Copy libmysql.dll from connector folder which we just extracted to C:\Ruby192\bin>
reference : http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/
No comments:
Post a Comment