Using ruby with mysql

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.

Paul