Gary,
Good suggestion. I had the same problem with mysql 5.1, but the
problem disappeared going back to 5.0.

I am using Windows XP, the latest Rails (2.2, or is it 2.1?), and Ruby
1.8.6.

One thing that I also do is to put the libmysql.dll file in c:\ruby
\bin. It is a bit of voodo that I read about in a post that I cannot
find anymore.

Is there a version of the ruby mysql gem out there that will work with
Mysql5.1 on windows? I would love to hear from the group, because I am
eager to try out the horizontal partitioning capabilities of MySql
5.1.

Kaushik

On Nov 30, 10:40 am, David Franklin <[EMAIL PROTECTED]>
wrote:
> Gary Doades wrote:
> > David Franklin wrote:
> >> to RoR would be so frustrating - particularly creating the environment.
> >> rake aborted!
> >> undefinedmethod`each' for #<Mysql:0x5cdda84>
> >> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:414:in
> >> `tables'
>
> > What version of MySQL is this? I have had similar problems with MySQL
> > 5.1 and the mysql gem with ActiveRecord. Switching back to MySQL version
> > 5.0.67 and re-installing the MySQL gem seemed a lot better.
>
> > I mainly use postgresql anyway which has no such problem nuder Windows
> > or Linux.
>
> > Cheers,
> > Gary.
>
> It's MySQL 5.1.  I'll try backing out to MySQL 5.0 and reinstall the
> gem.  Thanks for the help.  I was naive about how challenging setting up
> the environment would be.
>
> I'll keep you posted.
>
> Thanks again.
> --
> Posted viahttp://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to