code_junkie

Has anyone successfully connected to MySQL from Ruby?

Nov 13th, 2011
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. ./mysql.rb:453:in `read': Client does not support authentication protocol requested by server; consider upgrading MySQL client (Mysql::Error)
  2.  
  3. mysql Ver 14.7 Distrib 4.1.22, for pc-linux-gnu (i686) using readline 4.3
  4.  
  5. SomeModel.find(:all, :conditions => ['some_column = ?', some_value]
Add Comment
Please, Sign In to add comment