15
Mar

Mysql Rails Windows

   Posted by: Vivek Khokhar   in Ruby

Ok Lets try ruby on rails, lots of hype around.

First of all followed the link, and did as said here
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html

Hour 2

Ruby installed, rails installed. But not working with mysql. I am getting lost connection problem everytime I try to run the application.
Hour 3

Mysql Lost connection problem is solved by copying mysql.so from the rar file I got from following link
http://wiki.rubyonrails.org/rails/pages/HowToUseMySQLRubyBindingsOnWin32/versions/28

OR try this one: I havent tried it though
http://seagecko.org/thoughts/in-the-past/2004/09/09/ruby-mysql-and-windows/

Just copied mysql.so in #path-to-ruby#\lib\ruby\site_ruby\1.8\i386-msvcrt, restarted webserver, and it worked. Didnt Used other dlls in rar, dont think i need in my case. I am using 4.1.9-nt version of mysql

This entry was posted on Wednesday, March 15th, 2006 at 10:16 am and is filed under Ruby. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One comment

rohandey
 1 

This is a great blog of links for anyone who starts with ruby. I came to know of this link from a friend of mine and I think this guy is doing a great job for all the code freaks out there.

March 20th, 2006 at 3:15 pm

Leave a reply

You must be logged in to post a comment.