Hi Dave
    I download the ruby-mysql-0.2.6 and copy the file 'Mysql.rb' to the rubylibdir
Then I run the 'test.rb' the result was as below
192.168.0.5 is the host which installed the mysql
jim and 123456 is the uername and password
jim_opsuite is the database name
 
F:\resources\ruby-mysql-0.2.6>ruby test.rb 192.168.0.5 jim 123456 jim_opsuite
connect............../mysql.rb:453:in `read': Client does not support authentica
tion protocol requested by server; consider upgrading MySQL client (Mysql::Error
)
        from ./mysql.rb:130:in `real_connect'
        from ./mysql.rb:91:in `initialize'
        from ./mysql.rb:1085:in `new'
        from ./mysql.rb:1085:in `connect'
        from ./t/00connect.rb:1
        from test.rb:23:in `load'
        from test.rb:23
        from test.rb:19:in `each'
        from test.rb:19
 
How can I solve this problem?
Thank you
                                                                                                                jim


Click here to donate to the Hurricane Katrina relief effort.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to