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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top