Forum: Ruby Using ruby with mysql

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Paul H. (Guest)
on 2007-03-14 22:48
Under Windows XP, I have Ruby installed and running, and I have mysql
installed and running.  I want to use these together.

I've used "gem install mysql" to install the client between the two:

  mysql 2.7.3 (mswin32)

Now this statement:

dbh = Mysql.real_connect("localhost", "root", "mysql", "test")

Gives me this error:

Error code: 1251
Error message: Client does not support authentication protocol requested
by server; consider upgrading MySQL client

mysql 2.7.3 was the newest client in the list.

Any help would be appreciated.

This topic is locked and can not be replied to.