I've been using Ruby with Watir for a few months now to scrape data off of 
internal web pages where I work.  I'm fairly happy with the results, 
although I want to improve these processes.  I want to put this data into 
mysql (yes, I've designed a schema).

On a windows box, I have Watir running with Ruby, and I have mysql running 
stand alone.  I've used this command to load the mysql interface:

  gem install mysql

and this seemed to complete fine.  Then I used this statement to try and 
connect from ruby to mysql:

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

and I got this message:

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

What am I missing?

Paul

_________________________________________________________________
Get a FREE Web site, company branded e-mail and more from Microsoft Office 
Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to