Women in Technology

Hear us Roar

  Rolling with Ruby on Rails
Subject:   ActiveRecord error?
Date:   2005-09-21 12:19:43
From:   CSBaum
Response to: ActiveRecord error?

Found out the issue, according to the Wiki on MySQL access problems, MySql version 4.1.x introduced a new password hashing mechanism that is incompatible with the previously used scheme. The quick work around was to create a new user w/o a password that only has access to the cookbook db. The other proposed solution is to install the mysql gem, which I quickly tried, but it looks like it uses *nix make files, etc...

Thanks for the help, I really like the article and am looking forward to the second installment.


Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • ActiveRecord error?
    2005-11-26 17:29:08  jaykali [View]

    I just got on board with this tutorial and I'm having trouble with the password hash/invalid error. I ended up using the quick fix by resetting the root password to nothing but I'd rather know how to fix it so that users can have passwords. Little help?
    • Curt Hibbs photo ActiveRecord error?
      2005-11-26 19:25:10  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

      If you're using a recent version of MySQL 4.1.x and the most recent version of rails, then passwords should work without any problems. Otherwise, you'll need to read up on the issue:




      You can also post questions to the Rails mailing list:

  • Curt Hibbs photo ActiveRecord error?
    2005-09-21 12:26:56  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

    I'm glad to hear you are moving forward. Although I am still a little puzzled, because for at least the las six months, all versions of Rails support the new password scheme.