Did you build the mysql gem with the correct version of the mysql client library? try the -- --with-mysql-config=/path_to/mysql_config option and make sure it is the right version?
On Aug 4, 8:54 pm, Mosses Akizian <[email protected]> wrote: > Hi. A newbie. I installed/upgraded all the proper (at least that I know > of) apps needed to run ruby on rails on a mac, but keep receiving mysql > errors. The default page works fine, but as soon as I try a simple > "hello world" controller that I'm testing, I keep getting different > errors. > > Current one after researching forums and trying to troubleshoot the > problem, I'm stuck on a "Status: 500 Internal Server Error > Client does not support authentication protocol requested by server; > consider upgrading MySQL client" I am upgraded to the latest. What > gives? And I did assign a password to the root and "sudo gem install > mysql -- --with-mysql-dir=/usr/local/mysql' > > My mac is os x 10.5.7 > Ruby 1.8.7 > Rails 2.3.3 > Gem 1.3.5 > MySQL 5.1.37 > > Here's an excerpt copy of the error from the development.log: > !\ FAILSAFE /!\ Tue Aug 04 08:10:08 -0700 2009 > Status: 500 Internal Server Error > Client does not support authentication protocol requested by server; > consider upgrading MySQL client > /usr/local/lib/ruby/1.8/mysql.rb:453:in `read' > /usr/local/lib/ruby/1.8/mysql.rb:130:in `real_connect' > > /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/conn > ection_adapters/mysql_adapter.rb:576:in > `connect' > > /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/conn > ection_adapters/mysql_adapter.rb:204:in > `initialize' > > I have also properly updated the database.yml and have added the root > password > > Any thoughts? Appreciated. > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

