Using ruby with mysql

P

Paul Hammer

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,697
Latest member
AugustNabo

Latest Threads

Top