Created
November 9, 2012 01:20
-
-
Save marcialca/4043119 to your computer and use it in GitHub Desktop.
[Rails] Rails + XAMPP + Windows + MySQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install mysql2 -- --with-mysql-include=C:\xampp\mysql\include --with-mysql-lib=C:\xampp\mysql\lib\opt | |
At the time of building this gem, the necessary DLL files where available | |
in the following download: | |
http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-noinstall-6.0.2-win32.zip/from/pick | |
And put lib\libmysql.dll file in your Ruby bin directory, for example | |
C:\Ruby\bin | |
En config.yml | |
annadir "Port:3306" (MySQL en XAMPP) | |
cambiar la palabra "localhost" por "127.0.0.1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment