fanfaron-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Mar-19 16:56 UTC
Password in development environnement
Hi Everyone, I noticed a strange behavior from Rails, When there''s password in the development environnement Rails give me this error <<Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS FROM comics>> When I removed the password everything works. Here''s my database.yml development: adapter: mysql database: comics_catalog_dev username: admin_comic password: comic host: localhost So when I have the configuration shown below, It is working. development: adapter: mysql database: comics_catalog_dev username: admin_comic password: host: localhost Have someone ever experience this kinda problem? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Le 19 mars 07 à 17:56, fanfaron-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org a écrit :> > Hi Everyone, > > I noticed a strange behavior from Rails, When there''s password in the > development environnement Rails give me this error > > <<Mysql::Error: Lost connection to MySQL server during query: SHOW > FIELDS FROM comics>>You''re maybe using MySQL 4.1 and there''s problem with the password hashing. Take a look at http://www.mikekrisher.com/?p=386 -- Nicolas Cavigneaux http://www.bounga.org http://www.cavigneaux.net --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
fanfaron-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Mar-19 17:17 UTC
Re: Password in development environnement
Yes I''m using MySql 4.1 So I just need to upgrade to a newer version. Thank you. On 19 mar, 13:04, Nicolas Cavigneaux <n...-DRabjd/C3MEdnm+yROfE0A@public.gmane.org> wrote:> Le 19 mars 07 à 17:56, fanfa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org a écrit : > > > > > Hi Everyone, > > > I noticed a strange behavior from Rails, When there''s password in the > > development environnement Rails give me this error > > > <<Mysql::Error: Lost connection to MySQL server during query: SHOW > > FIELDS FROM comics>> > > You''re maybe using MySQL 4.1 and there''s problem with the password > hashing. > > Take a look athttp://www.mikekrisher.com/?p=386 > -- > Nicolas Cavigneauxhttp://www.bounga.orghttp://www.cavigneaux.net--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---