Justin Collins wrote:
> jsp408 / comcast.net wrote:
>> 	from C:/0-dwn/mysql/ruby-mysql-0.2.6/sampledb0.rb:5
>> [snip]
>>   
> I think I heard that the ruby mysql library doesn't work with mysql 5?
> I'm not sure, though.

MySQL/Ruby works fine with MySQL 5.0.* (for me, 5.0.19):
  http://www.tmtm.org/en/mysql/ruby/
  - This is great if you can do makes.
  - Been using this for years, with various MySQLs.
  - Tomita Masahiro keeps it up to date still, last was just over 1 
month ago.

His Ruby/MySQL doesn't seem to (and is the rumour source I suspect):
  http://www.tmtm.org/en/ruby/mysql/
  - however, maybe you can, if you use the old authentication protocol
    (see 1st paragraph here: 
http://www.tmtm.org/ja/ruby/mysql/README.html)
  - Latest version is out-of-date, and is around 1.5 years old.
  - Also, it is decently slower (unsurprising, shush).

The rails-emergent ActiveRecord can use either of these, but as it says, 
the pure ruby one won't work with MySQL 4.1.*+ ... but the natively 
linked one will.
  http://wiki.rubyonrails.org/rails/pages/MySQL

Maybe useful, maybe not.
ARJ


-- 
Posted via http://www.ruby-forum.com/.