On Mon, Dec 22, 2008 at 11:15 AM, Eu Reka <[email protected]> wrote: > > I am currently stuck on how to proceed. This app is hosted on site5. > mysql version 4.1 I believe.
> 'rake db:schema:load RAILS_ENV=production'. I then get 'Access denied > for user 'Joker'@'localhost' to database 'batman_production'. > > I double-checked the database.yml file and it has Joker's credentials. My immediate WAG would be password length discrepancy: Note this from the old mysql-default-database.yml -- # And be sure to use new-style password hashing: # http://dev.mysql.com/doc/refman/5.0/en/old-client.html Now on your production system, log into mysql and enter mysql> show variables like '%pass%'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | old_passwords | OFF | +---------------+-------+ 1 row in set (0.07 sec) mysql> If that says ON, you have an issue :-) FWIW, -- Hassan Schroeder ------------------------ [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

