MySQL Forums
Forum List  »  Ruby

Re: Ruby and MySQL with windows
Posted by: Lenz Grimmer
Date: June 15, 2006 09:21AM

Hi,

(sorry for the late reply)

Jon Dean wrote:

> Error code:1251
> Error message: Client does not support
> authentication protocol requested by server;
> consider upgrading mysql client
> simple.rb:13: undefined method 'close' for
> nil:NilClass <NoMethodError>
>
> Are there any suggestion on how I can get the ruby
> API for mysql installed and running?

Please see our manual about this: http://dev.mysql.com/doc/refman/5.0/en/old-client.html

It means that the Ruby API has been compiled against an old version of the MySQL Client library. Either make the server talk the old protocol or update the client library used for connecting to the server.

Bye,
LenZ

Lenz Grimmer - MySQL Community Relations Manager - http://de.sun.com/
Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten, DE
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels
Vorsitz d. Aufsichtsrates: Martin Haering AG Muenchen: HRB161028

Options: ReplyQuote


Subject
Written By
Posted
April 30, 2006 01:01PM
Re: Ruby and MySQL with windows
June 15, 2006 09:21AM


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.