Closed ghost closed 13 years ago
Why not follow the instructions I put on my blog long ago?
http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/
Use MySQL Connector/C instead, then copy libmysql.dll
to Ruby's bin directory.
Hello! I'm trying to use Mysql2 to connect to a MySQL database, I can install the gem like so:
gem install mysql2 -- --with-mysql-lib=c:\mysql\lib --with-mysql-include=c:\mysql\include
However when I do rake db:migrate --trace it hangs at "Execute db:migrate". Logging onto the mysql server and doing a "show processlist;" shows that a connection is opened to the correct database and then the "Sleep" command passed.
Ruby 192 MySQL2 0.2.7
Hopefully I'm doing something really basic wrong as I'm new to all this, but any help would be appreciated...
Thanks.