MySQL Forums
Forum List  »  Ruby

Re: Ruby and MySQL with windows
Posted by: Kevin Williams
Date: May 31, 2006 10:04PM

Have you tried installing using the gem (http://docs.rubygems.org)? Just download rubygems from http://rubyforge.org/projects/rubygems/, extract the files, run "ruby setup.rb", then run "gem install mysql" and pick the latest win32 one. This is a pre-compiled gem of the same mysql-ruby package you are trying to use.

One other thing which might help is to make sure the MySQL bin folder is in your PATH. On by box it's "C:\Program Files\MySQL\MySQL Server 5.0\bin". And make sure the login info you're using works before trying it in code.

Cheers,

Kevin

Options: ReplyQuote


Subject
Written By
Posted
April 30, 2006 01:01PM
Re: Ruby and MySQL with windows
May 31, 2006 10:04PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.