I am getting error Access denied for user ''root''@''localhost'' (using password: NO) i saw in database.yaml Install MySQL and put its /bin directory on your path. how to set it Attachments: http://www.ruby-forum.com/attachment/1828/database.yml -- Posted via http://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 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 -~----------~----~----~----~------~----~------~--~---
Manika Suri wrote:> I am getting error > Access denied for user ''root''@''localhost'' (using password: NO) > > i saw in database.yaml > Install MySQL and put its /bin directory on your path. > how to set itExample app_name/config/database.yml : development: adapter: mysql database: teapoci_development username: root password: host: localhost make sure that your database login in mysql is correct, like password or username. -- Posted via http://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 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 -~----------~----~----~----~------~----~------~--~---
Manika Suri wrote:> I am getting error > Access denied for user ''root''@''localhost'' (using password: NO) > > i saw in database.yaml > Install MySQL and put its /bin directory on your path. > how to set itYou may also have to log on to MySQl as root with -P option and GRANT permission for root to access the database. -- Posted via http://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 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 -~----------~----~----~----~------~----~------~--~---
Seemingly Similar Threads
- Access denied for user 'root'@'localhost' (using password: NO)
- ActionController::InvalidAuthenticityToken in ClassifiedCon
- error: 'Access denied for user 'root'@'localhost' <using password: NO>'
- hiera_array, structured data and multiple levels of hierarchy
- mySQL: ERROR 1045: Access denied for user 'root'@'localhost' (using password: NO)