After spending a lot of time today trying to get CocoaMySQL connecting to a remote MySQL 4.1.9 server via ssh tunnel and then experiencing the password hashing issue locally when I put in passwords on my local Mysql server, I started wondering about Rails compatibility. Will rails now hash passwords correctly when connecting to MySql 4.1.7+, or should I stick with using old_password() when creating them in MySQL? Thanks Jamie
Jamie Orchard-Hays wrote:> > After spending a lot of time today trying to get CocoaMySQL connecting > to a remote MySQL 4.1.9 server via ssh tunnel and then experiencing the > password hashing issue locally when I put in passwords on my local > Mysql server, I started wondering about Rails compatibility. > > Will rails now hash passwords correctly when connecting to MySql > 4.1.7+, or should I stick with using old_password() when creating them > in MySQL?Yes it will, I started doing that just today with MySQL 4.1.9. Curt
brand new db tables, or old ones with old hashes? If you haven''t changed your passwords after an upgrade, they''ll still be in the old hash format. Jamie On Jan 30, 2005, at 10:00 PM, Curt Hibbs wrote:> Jamie Orchard-Hays wrote: >> >> After spending a lot of time today trying to get CocoaMySQL connecting >> to a remote MySQL 4.1.9 server via ssh tunnel and then experiencing >> the >> password hashing issue locally when I put in passwords on my local >> Mysql server, I started wondering about Rails compatibility. >> >> Will rails now hash passwords correctly when connecting to MySql >> 4.1.7+, or should I stick with using old_password() when creating them >> in MySQL? > > Yes it will, I started doing that just today with MySQL 4.1.9. > > Curt > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >